Skip to content

Commit f596e26

Browse files
committed
[Fix] Wrong deletion path
1 parent 7c83db2 commit f596e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async fn update_modloader() {
174174
let _ = stdin.write_all(b"tar -xzvf RL2.ModLoader.tar.gz -C rl2-ml\n");
175175
let _ = stdin.write_all(b"start rl2-ml/RL2.ModLoader.Installer.exe\n");
176176
let _ = stdin.write_all(b"del RL2.ModLoader.tar.gz\n");
177-
let _ = stdin.write_all(b"del /q RL2.ModLoader\n");
177+
let _ = stdin.write_all(b"del /q rl2-ml\n");
178178

179179
let _ = process.wait_with_output();
180180
}

0 commit comments

Comments
 (0)