Skip to content

Commit e27c496

Browse files
fix : additional security exception fixes for Darwin
1 parent 2ecaa2a commit e27c496

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

apply-security.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ else
4848
echo "[NOTICE] Skipping chown command on Darwin (macOS) platform. See the README."
4949
fi
5050

51-
52-
set_safe_filemode_on_app
51+
if [[ "$(uname)" != "Darwin" ]]; then
52+
set_safe_filemode_on_app
53+
else
54+
echo "[NOTICE] Skipping chown command on Darwin (macOS) platform. See the README."
55+
fi

0 commit comments

Comments
 (0)