mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-01 00:11:57 +08:00
fix
This commit is contained in:
@ -188,10 +188,10 @@ foreach ($adapter in $adapterMemory) {
|
|||||||
, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1
|
, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1
|
||||||
WScript.Quit
|
WScript.Quit
|
||||||
End If
|
End If
|
||||||
|
Dim objShell
|
||||||
Set WshShell = WScript.CreateObject("WScript.Shell")
|
Set objShell = WScript.CreateObject( "WScript.Shell" )
|
||||||
exeName = """${Platform.resolvedExecutable}"""
|
objShell.Run("""${Platform.resolvedExecutable}""")
|
||||||
statusCode = WshShell.Run(exeName, 1, true)
|
Set objShell = Nothing
|
||||||
''';
|
''';
|
||||||
final vbsFile = File(AppConf.launchHelperPath);
|
final vbsFile = File(AppConf.launchHelperPath);
|
||||||
if (await vbsFile.exists()) {
|
if (await vbsFile.exists()) {
|
||||||
|
Reference in New Issue
Block a user