Created
March 28, 2019 18:54
-
-
Save xcsrz/0865dec1304dfadc9c0beeee704a4e53 to your computer and use it in GitHub Desktop.
Run chrome completely separate from the standard as though it has never been run before on that computer, but skip the welcome wizard stuff.
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
#!/bin/bash | |
app="/Applications/Google Chrome.app" | |
dir=$(mktemp -d) | |
# echo $dir | |
touch "${dir}/First Run" | |
mkdir "${dir}/Default" | |
echo '{"browser":{"has_seen_welcome_page":true}}' > "${dir}/Default/Preferences" | |
exec "${app}/Contents/MacOS/Google Chrome" --bwsi --disable-signin-promo --bypass-app-banner-engagement-checks --no-managed-user-acknowledgment-check -no-first-run --user-data-dir=${dir} --system-developer-mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment