https://github.com/xwmx/shell-app
Turn a shell script into an OS X application.
https://github.com/xwmx/shell-app
Last synced: 5 months ago
JSON representation
Turn a shell script into an OS X application.
- Host: GitHub
- URL: https://github.com/xwmx/shell-app
- Owner: xwmx
- License: mit
- Created: 2014-11-29T22:55:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T23:38:31.000Z (almost 11 years ago)
- Last Synced: 2024-05-02T00:56:13.992Z (over 1 year ago)
- Language: Ruby
- Size: 164 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
__ ____
_____/ /_ ___ / / / ____ _____ ____
/ ___/ __ \/ _ \/ / /_____/ __ `/ __ \/ __ \
(__ ) / / / __/ / /_____/ /_/ / /_/ / /_/ /
/____/_/ /_/\___/_/_/ \__,_/ .___/ .___/
/_/ /_/# shell-app
Turn a shell script into an OS X application.
## Usage
shell-app example.sh example.app
## Description
Creates an OS X application bundle that calls a given shell script or
command.This provides a command line alternative to creating application bundles with
Automator. The shell script is first wrapped in a short AppleScript
wrapper which is then compiled with `osacompile`. When the output file
includes the .app extension, `osacompile` outputs an application bundle
wrapping the AppleScript file.## See also
- https://gist.github.com/mathiasbynens/674099
- Creates very simple applications, but they are too simple to be
recognized by Spotlight as applications.
- https://mathiasbynens.be/notes/shell-script-mac-apps
- http://www.sveinbjorn.org/platypus