Editing Octave para macOS
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 77: | Line 77: | ||
{{Note|El proceso completo de instalación puede '''tomar algunas horas'''. Octave tiene muchas dependencias que serán descargadas e instaldas antes de Octave.}} | {{Note|El proceso completo de instalación puede '''tomar algunas horas'''. Octave tiene muchas dependencias que serán descargadas e instaldas antes de Octave.}} | ||
En caso de problemas, por favor visita el [https://github.com/spack/spack/issues repositorio de problemas Spack], y busca a través de los problemas | En caso de problemas, por favor visita el [https://github.com/spack/spack/issues repositorio de problemas Spack], y busca a través de los problemas relacionado scon Octave escribiendo <code>is:issue octave</code> en el filtro. | ||
== | == Create a launcher app with the Script Editor == | ||
For example Homebrew installs Octave to {{Path|/usr/local/bin/octave}} by default. From the [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac Terminal] application you can enter the command <code>which octave</code> to find out the exact location. | |||
If you know the installation location, open the [https://support.apple.com/guide/script-editor Script Editor] application and write the following text in the editor window: | |||
do shell script "/usr/local/bin/octave --gui" | do shell script "/usr/local/bin/octave --gui" | ||
if you wish to start the Octave GUI by default. If you want to start the Octave command-line interface (CLI), enter instead: | |||
tell application "Terminal" | tell application "Terminal" | ||
Line 93: | Line 93: | ||
end tell | end tell | ||
or if Octave is in your default path: | |||
tell application "Terminal" | tell application "Terminal" | ||
Line 99: | Line 99: | ||
end tell | end tell | ||
Finally: | |||
* | * With a script open in the Script Editor app on your Mac, choose "File > Export". | ||
* | * In the menu that appears, select "Application" from the "File format" menu, then navigate to the "Applications" folder and save your script there as "Octave.app" | ||
To change the application icon: | |||
* | * Open [[:File:Icon.png|this link]] in a web browser, right-click and select "copy image". | ||
* | * Select "Octave.app" in the Finder, then press {{Key|command-i}} to bring up the file info dialog. | ||
* In | * In the file info dialog, select the icon (in the top left) and press {{Key|command-v}} to paste the Octave icon over it. | ||
== | == See also == | ||
* [[Octave for macOS (outdated)]] | * [[Octave for macOS (outdated)]] contains old installation instructions. | ||
== | == Footnotes == | ||
<references/> | <references/> |