Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit ecf16b3

Browse files
authored
fix(Injector): add "" between tool path (#31)
1 parent 4bf17a9 commit ecf16b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InjectGUI/Backend/Injector.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ class Injector: ObservableObject {
516516

517517
// 把 [0] 替换为 [1] 的内容
518518
let replaceCommands = replaceSpecialShell.map { from, to in
519-
"sed -i '' 's|\(from)|\(to)|g' \(downloadPath)"
519+
"sed -i '' 's|\(from)|\"\(to)\"|g' \(downloadPath)"
520520
}
521521

522522
shells.append((downloadCommand, false))

0 commit comments

Comments
 (0)