Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4814176

Browse files
committed
dont use shell
1 parent05aa65f commit4814176

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 -dcom.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)

[8]ページ先頭

©2009-2025 Movatter.jp