casual migrate to powershell

This commit is contained in:
2025-10-07 22:36:04 +03:00
parent 07e27e87e2
commit e727fe174e
39 changed files with 167 additions and 24 deletions
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo Restarting as Admin...
powershell -Command "Start-Process -FilePath '%~dp0apps-manager.bat' -ArgumentList 'connect' -Verb RunAs"
exit /b
)
call "%~dp0apps-manager.bat" connect
endlocal