mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 17:38:32 +08:00
fix: startup script blocking
This commit is contained in:
1 parent
deccff623a
commit
19ce53128b
1 file changed
+1
-1
@@ -304,7 +304,7 @@ pub fn startup_script() -> Result<()> {
|
||||
shell = "powershell";
|
||||
}
|
||||
if path.ends_with(".bat") {
|
||||
shell = "cmd";
|
||||
shell = "powershell";
|
||||
}
|
||||
if shell.is_empty() {
|
||||
return Err(anyhow::anyhow!("unsupported script: {path}"));
|
||||
|
||||
Reference in new issue
Block a user