Skip to content

Commit a8f4f7c

Browse files
Extends setup script to disable Gatekeeper for proxy files (#543)
1 parent 45d8a8b commit a8f4f7c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/setup-beta.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ unzip -o ./devproxy.zip -d ./
7171
rm ./devproxy.zip
7272
echo "Configuring devproxy and its files as executable..."
7373
chmod +x ./devproxy ./libe_sqlite3.dylib
74+
echo "Removing quarantine attribute from devproxy and its files..."
75+
xattr -d com.apple.quarantine ./devproxy ./libe_sqlite3.dylib
7476

7577
echo "Configuring new version notifications for the beta channel..."
7678
sed -i '' 's/"newVersionNotification": "stable"/"newVersionNotification": "beta"/g' ./devproxyrc.json

scripts/setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ unzip -o ./devproxy.zip -d ./
7070
rm ./devproxy.zip
7171
echo "Configuring devproxy and its files as executable..."
7272
chmod +x ./devproxy ./libe_sqlite3.dylib
73+
echo "Removing quarantine attribute from devproxy and its files..."
74+
xattr -d com.apple.quarantine ./devproxy ./libe_sqlite3.dylib
7375

7476
echo "Adding devproxy to the PATH environment variable in your shell profile..."
7577

0 commit comments

Comments
 (0)