Skip to content

Instantly share code, notes, and snippets.

@MagerValp
Created October 7, 2015 15:31
Show Gist options
  • Save MagerValp/ff75cbc43da64200857b to your computer and use it in GitHub Desktop.
Save MagerValp/ff75cbc43da64200857b to your computer and use it in GitHub Desktop.
TimeEdit signing fix
--- 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