Skip to content

Commit 962657e

Browse files
Updates macOS setup scripts to not fail on xattr (#560)
* Updates macOS setup scripts to not fail on xattr * Update setup-beta.sh * Update setup.sh
1 parent 4d8acce commit 962657e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

scripts/setup-beta.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ 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
7674

7775
echo "Configuring new version notifications for the beta channel..."
7876
sed -i '' 's/"newVersionNotification": "stable"/"newVersionNotification": "beta"/g' ./devproxyrc.json
@@ -98,4 +96,4 @@ echo "To get started, run:"
9896
if [[ "$fileUsed" != "" ]]; then
9997
echo " source $fileUsed"
10098
fi
101-
echo " devproxy -h"
99+
echo " devproxy -h"

scripts/setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ 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
7573

7674
echo "Adding devproxy to the PATH environment variable in your shell profile..."
7775

@@ -94,4 +92,4 @@ echo "To get started, run:"
9492
if [[ "$fileUsed" != "" ]]; then
9593
echo " source $fileUsed"
9694
fi
97-
echo " devproxy -h"
95+
echo " devproxy -h"

0 commit comments

Comments
 (0)