add as admin
This commit is contained in:
parent
1c9f4ae687
commit
b098de64ad
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,14 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
SET "collapse=%LOCALAPPDATA%\CollapseLauncher\current"
|
||||
SET "exe=CollapseLauncher.exe"
|
||||
SET "iconpath=Assets\Images\GameIcon"
|
||||
|
|
Loading…
Reference in a new issue