mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-29 01:01:56 +01:00
Preserve macOS quarantine metadata during auto-update
This commit is contained in:
1 parent
efda14776d
commit
3dcba52e91
1 file changed
-1
@@ -181,7 +181,6 @@ old="$stage/old.app"
|
||||
if mv "$app" "$old"; then
|
||||
if mv "$new" "$app"; then rm -rf "$old"; else mv "$old" "$app"; fi
|
||||
fi
|
||||
xattr -dr com.apple.quarantine "$app" 2>/dev/null
|
||||
rm -rf "$stage"
|
||||
open "$app"
|
||||
`;
|
||||
|
||||
Reference in new issue
Block a user