Created
March 11, 2019 10:02
-
-
Save Teraflopst/9e66f54fb21c05530fbf132bbf59bcd6 to your computer and use it in GitHub Desktop.
macOS 以 Chrome App 模式打开当前网页
This file contains hidden or 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
tell application "Google Chrome" | |
set weburl to the URL of the active tab of the front window | |
end tell | |
set appurl to "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --app=" & weburl | |
do shell script appurl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment