Skip to content

Commit 5569302

Browse files
committed
dont use shell
1 parent bc4fc11 commit 5569302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Coder-Desktop/Coder-DesktopHelper/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class HelperToolDelegate: NSObject, NSXPCListenerDelegate, HelperXPCProtocol {
3333

3434
task.standardOutput = pipe
3535
task.standardError = pipe
36-
task.arguments = ["-c", "xattr -d com.apple.quarantine '\(path)'"]
37-
task.executableURL = URL(fileURLWithPath: "/bin/bash")
36+
task.arguments = ["-d", "com.apple.quarantine", path]
37+
task.executableURL = URL(fileURLWithPath: "/usr/bin/xattr")
3838

3939
do {
4040
try task.run()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy