Skip to content

Commit

Permalink
fix killWarpPlus on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowZagrosDev authored Oct 15, 2024
1 parent 6966fd3 commit 6e47a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oblivion-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (m *SingBoxManager) killWarpPlus() {

switch runtime.GOOS {
case "windows":
cmd = exec.Command("taskkill", "/F", "/IM", fmt.Sprintf("%s.exe", m.config.WpBin))
cmd = exec.Command("taskkill", "/F", "/IM", m.config.WpBin)
case "darwin", "linux":
cmd = exec.Command("pkill", m.config.WpBin)
default:
Expand Down

0 comments on commit 6e47a40

Please sign in to comment.