mirror of
https://github.com/xiaoqidun/alive.git
synced 2026-10-24 19:53:30 +08:00
1 parent
efe9e9bb50
commit
946cdc2837
1 file changed
+1
-1
@@ -53,7 +53,7 @@ func runAsAdmin() {
|
|||||||
windows.StringToUTF16Ptr(exe),
|
windows.StringToUTF16Ptr(exe),
|
||||||
windows.StringToUTF16Ptr(strings.Join(args, " ")),
|
windows.StringToUTF16Ptr(strings.Join(args, " ")),
|
||||||
windows.StringToUTF16Ptr(cwd),
|
windows.StringToUTF16Ptr(cwd),
|
||||||
windows.SW_SHOWNORMAL,
|
windows.SW_HIDE,
|
||||||
)
|
)
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user