mirror of
https://github.com/xiaoqidun/alive.git
synced 2025-12-25 23:28:35 +08:00
This commit is contained in:
2
alive.go
2
alive.go
@@ -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