Created
March 12, 2019 00:11
-
-
Save liyu1981/f52a7d4d96e507f63c359986808ce9f3 to your computer and use it in GitHub Desktop.
update script for nativefier-workchat
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 | |
echo "create new version of nativefier-wrokchat" | |
nativefier -i ./workplace.png https://fb.workplace.com -n nativefier-workchat | |
if [ -d "/Applications/nativefier-workchat.app" ]; then | |
echo "backup..." | |
mv /Applications/nativefier-workchat.app ~/Desktop/nativefier-workchat-backup.app | |
echo "done => ~/Desktop" | |
fi | |
echo "copy updated versoin to Applications" | |
cp -r nativefier-workchat-darwin-x64/nativefier-workchat.app /Applications/ | |
echo "remove temp files" | |
rm -rf nativefier-workchat-darwin-x64 | |
echo 'done!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment