Skip to content

Instantly share code, notes, and snippets.

@shiv19
Created March 16, 2020 21:19
Show Gist options
  • Save shiv19/d43edc528334762fd4b092a608e816c7 to your computer and use it in GitHub Desktop.
Save shiv19/d43edc528334762fd4b092a608e816c7 to your computer and use it in GitHub Desktop.
Launch website as Chrome PWA on MacOS
# Launch website as Chrome PWA on MacOS
function chromeapp {
url=$1;
{ nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app=$url & } &;
}
@shiv19
Copy link
Author

shiv19 commented Mar 16, 2020

You can add this to your .bashrc or .zshrc file and then use it like this
chrome app <website url>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment