Skip to content

Commit

Permalink
fix(Injector): add "" between tool path (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee authored Sep 12, 2024
1 parent 4bf17a9 commit ecf16b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InjectGUI/Backend/Injector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ class Injector: ObservableObject {

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

shells.append((downloadCommand, false))
Expand Down

0 comments on commit ecf16b3

Please sign in to comment.