Guest User

Untitled

a guest
Jan 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. 1. Go to the app directory
  2.  
  3. cd /Applications/Google\ Chrome.app/Contents/MacOS/
  4.  
  5. 2. Rename the app to app.orig
  6.  
  7. mv Google\ Chrome Google\ Chrome.orig
  8.  
  9. 3. Create a shell script with the original name that uses the args you want
  10.  
  11. cat > Google\ Chrome
  12. #!/bin/bash
  13. "$0.orig" --disable-print-preview
  14.  
  15. 4. Make it executable
  16.  
  17. chmod + x Google\ Chrome
Add Comment
Please, Sign In to add comment