Skip to content

Commit

Permalink
Fix macOS code signature verification when hl path has spaces (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-espedal authored Jun 19, 2024
1 parent 04ea282 commit 5e3f98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension.hx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Extension {
}
var validSignature = false;
try {
var entitlements:String = js.node.ChildProcess.execSync('codesign -d --entitlements - $$(which $hl)');
var entitlements:String = js.node.ChildProcess.execSync('codesign -d --entitlements - "$$(which $hl)"');
validSignature = entitlements.indexOf("com.apple.security.get-task-allow") >= 0;
} catch(ex: Dynamic) {}
if(!validSignature) {
Expand Down

0 comments on commit 5e3f98c

Please sign in to comment.