shim: get rid of insane launch condition

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-10-13 12:09:38 +09:00
parent e4536b87ad
commit b470941911
5 changed files with 16 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ func (a *app) commandBuilderSudo(shimEnv string) (args []string) {
args = append(args, shimEnv)
// -- $@
args = append(args, "--", a.seal.sys.executable, "-V", "--license") // magic for shim.Try()
args = append(args, "--", a.seal.sys.executable, "shim")
return
}