/macos-chrome-custom

macOS app which runs Google Chrome with custom flags

Primary LanguageShell

Tired of running Google Chrome with arguments in terminal?

Install this "Chrome" app (and add to Dock if you want) and use instead of Google Chrome.

Google Chrome needs to be installed separately. This app doesn't change anything about Google Chrome, everything works the same (settings, updates, etc.), except Google Chrome is run with custom flags.

By default app use flag --disable-features=GlobalMediaControls to disable annoying extension which controls running music, but you can modify flags any way you want. See: run.sh

Installation

curl -s https://raw.githubusercontent.com/feegloo/macos-chrome-custom/master/install | bash

Open "Chrome" app, then allow macOS to run app from "unidentified developer" in System Preferences / Security & Privacy / General

Code

App contains only 3 files:

  • run.sh          shell script executed when app is run
  • icon.icns     app icon
  • Info.plist      app descriptor, containing mostly dummy info

App is installed at /Applications/Chrome.app/, but you can rename Chrome to any name.

Treat it like a template for macOS app which runs Shell script.