Created
March 16, 2020 21:19
-
-
Save shiv19/d43edc528334762fd4b092a608e816c7 to your computer and use it in GitHub Desktop.
Launch website as Chrome PWA on MacOS
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
# Launch website as Chrome PWA on MacOS | |
function chromeapp { | |
url=$1; | |
{ nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app=$url & } &; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add this to your .bashrc or .zshrc file and then use it like this
chrome app <website url>