Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (13 sloc) 344 Bytes
#!/bin/bash
set -e -f -u -o pipefail
main() {
local APP="/Applications/Backup and Sync.app/Contents/MacOS/Backup and Sync"
local DEST="backup-and-sync.restart.plist"
local LABEL="BackupAndSync.restart"
if [[ "$#" -eq 0 ]]; then
main start
else
restart-app-automatically "${DEST}" "${APP}" "${LABEL}" "$@"
fi
}
main "$@"
You can’t perform that action at this time.