make-chrome-app.sh
Chrome Mac App Store
Download the provided Chrome Disk Image (.dmg) file and the sample profile files. Use your preferred editor to create configuration profiles with your corporate policies. Set up Chrome apps and extensions. Push Chrome Browser and the configuration profiles to your users' Mac computers using your preferred MDM tool. Start setup now. Related topics. Dictation software for mac free download 2016. If you double-click on it, you'll find it opens as a separate application, in its on little window and with its own dock app. Note that any Google Chrome preferences and extensions won't carry. A Chrome App contains these components: The manifest tells Chrome about your app, what it is, how to launch it and the extra permissions that it requires. The background script is used to create the event page responsible for managing the app life cycle. All code must be included in the Chrome App package. Blu ray burning software for mac reviews. Jul 05, 2017 RELATED: Everything You Need to Know About Google Chrome's Profile Switcher. To back up your profile(s), copy the Default profile folder and any numbered Profile folders in the UserData folder on Windows, the Chrome folder on Mac OS X El Capitan, or the google-chrome folder in Linux to an external hard drive or a cloud service. Free capture card software mac.
#!/bin/sh |
# wget https://gist.githubusercontent.com/stefansundin/c89fd15bae5a58831790/raw/make-chrome-app.sh |
# chmod +x make-chrome-app.sh |
# ./make-chrome-app.sh |
echo'Note that the app will run with a separate data dir and thus not have your regular extensions and settings.' |
echo |
echo'What should the app be called?' |
read name |
echo |
if [ -d'$HOME/Applications/$name.app' ];then |
echo'That app already exists.' |
exit 1 |
fi |
echo'What is the url?' |
read url |
echo |
echo'What is the full path to the icon? (optional)' |
read icon |
chrome='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' |
app='$HOME/Applications/$name.app/Contents' |
mkdir -p '$app/Resources''$app/MacOS''$app/Profile' |
# convert the icon |
if [ -f$icon ];then |
sips -s format tiff $icon --out '$app/Resources/icon.tiff' --resampleWidth 128 &> /dev/null |
tiff2icns -noLarge '$app/Resources/icon.tiff'&> /dev/null |
fi |
# create the executable |
cat >'$app/MacOS/$name'<<EOF |
#!/bin/sh |
exec '$chrome' --app='$url' --user-data-dir='$app/Profile' --disable-save-password-bubble '$@' |
EOF |
chmod +x '$app/MacOS/$name' |
# create Info.plist |
cat >'$app/Info.plist'<<EOF |
<?xml version='1.0' encoding='UTF-8'?> |
<!DOCTYPE plist PUBLIC '-//Apple//DTD PLIST 1.0//EN' “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> |
<plist version=”1.0″> |
<dict> |
<key>CFBundleExecutable</key> |
<string>$name</string> |
<key>CFBundleIconFile</key> |
<string>icon</string> |
</dict> |
</plist> |
EOF |
# disable Chrome's first-run dialog |
touch '$app/Profile/First Run' |
Google Chrome On A Mac
Create A Chrome App Mac Free
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment