Created
October 7, 2015 15:31
-
-
Save MagerValp/ff75cbc43da64200857b to your computer and use it in GitHub Desktop.
TimeEdit signing fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- universalJavaApplicationStub 2015-10-07 17:24:44.000000000 +0200 | |
+++ universalJavaApplicationStub.clearsign 2015-10-07 17:30:07.000000000 +0200 | |
@@ -100,6 +100,12 @@ | |
JVMVersion="" | |
+if [[ -d "$AppPackageFolder/Contents/_CodeSignature" ]]; then | |
+ logger -t TimeEdit "Clearing quarantine attribute from $AppPackageFolder" | |
+ xattr -r -c "$AppPackageFolder" | |
+ logger -t TimeEdit "Removing code signature from $AppPackageFolder" | |
+ rm -rf "$AppPackageFolder/Contents/_CodeSignature" | |
+fi | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment