Created
August 18, 2011 14:29
-
-
Save billdueber/1154163 to your computer and use it in GitHub Desktop.
OSX command-line args
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to the app directory | |
cd /Applications/Google\ Chrome.app/Contents/MacOS/ | |
2. Rename the app to app.orig | |
mv Google\ Chrome Google\ Chrome.orig | |
3. Create a shell script with the original name that uses the args you want | |
cat > Google\ Chrome | |
#!/bin/bash | |
"$0.orig" --disable-print-preview | |
4. Make it executable | |
chmod + x Google\ Chrome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also then
chmod +x Google\ Chrome