Create a MacOS X App Bundle Using Homebrew: Difference between revisions

Jump to navigation Jump to search
Line 10: Line 10:


===Creating the App Bundle and Disk Image===
===Creating the App Bundle and Disk Image===
The following [https://raw.githubusercontent.com/schoeps/octave_installer/master/install_octave.sh script] will ask some questions, e.g. regarding the installation path ({{Codeline|/Applications/Octave.app}} is recommended) or whether Octave should be compiled with or without graphical user interface and finally whether a disk image should be created or not.
The [https://raw.githubusercontent.com/schoeps/octave_installer/master/install_octave.sh script] will ask some questions, e.g. regarding the installation path ({{Codeline|/Applications/Octave.app}} is recommended) or whether Octave should be compiled with or without graphical user interface and finally whether a disk image should be created or not. If you choose to install to the Applications folder then the script needs to run with administration rights.  
<pre>
<pre>
#!/bin/sh
#!/bin/sh
Line 171: Line 171:


# get background image
# get background image
#curl xxx -o background.tiff
curl https://raw.githubusercontent.com/schoeps/octave_installer/master/background.tiff -o background.tiff


# running create-dmg; this may issue warnings if run headless. However, the dmg
# running create-dmg; this may issue warnings if run headless. However, the dmg
44

edits

Navigation menu