I'd like to start an application (Google Chrome) with a parameter (--enable-sync), but how can you do this on OS X? I've tried creating a terminal script, but I get the error message, "Google Chrome.app" is a folder... (this is of course correct, because applications are bundles on OS X).
|
It's possible to run a command line operation via AppleScript. The command looks like this:
You can use the OSX Script Editor to create this script. There's a pretty good intro here: Script Editor Intro Once you've made your script, you can "Save as Application" to have OSX create an application bundle for your AS file. Then you can launch your application just like any other program! |
|||
|
|
|
Right click your application and choose for Show Package Contents.
|
|||
|
They didn't make any change to the Mac Chromium Dev build, just on the Windows Dev Build. |
|||||
|
|
The binary executables for Mac application bundles are located in
|
|||
|
|
open -a Google\ Chrome.app --args "--allow-file-access-from-files" open is used to open an application in Mac... |
|||
|
|
You could wrap your shell script in an application bundle wrapper using Platypus: http://sveinbjorn.org/platypus
|
|||
|
|