forked from rohanb10/snoozz-tab-snoozing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsafari.sh
More file actions
executable file
·16 lines (12 loc) · 719 Bytes
/
safari.sh
File metadata and controls
executable file
·16 lines (12 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari
xcrun safari-web-extension-converter . --app-name "snoozz_for_safari" --bundle-identifier com.snoozeman.snoozz --swift --force --no-open;
cd snoozz_for_safari
# https://developer.apple.com/documentation/safariservices/safari_web_extensions/updating_a_safari_web_extension/#3744531
xcodebuild -scheme snoozz_for_safari build
echo Succesfully built Snoozz for Safari
echo Next Steps:
echo "1. Enable the Develop menu in Safari > Preferences > Advanced"
echo "2. In the Develop menu, click Allow Unsigned Extensions"
echo "3. In Safari > Preferences > Extensions, enable Snoozz"
echo ""