v0.0.32-beta

Update: create ReadMeAIO.html in Public profile instead Windows Temp
This commit is contained in:
abbodi1406 2019-11-20 03:26:26 +03:00
parent 59dfa5a896
commit e2d2fbf3b3

View file

@ -258,7 +258,7 @@ cls&goto :DoActivate
:MainMenu :MainMenu
cls cls
mode con cols=80 lines=30 mode con cols=80 lines=31
title KMS_VL_ALL_AIO %uivr% title KMS_VL_ALL_AIO %uivr%
color 07 color 07
set _dMode=Manual set _dMode=Manual
@ -1070,7 +1070,7 @@ goto :DoDebug
) )
if %_verb% EQU 1 ( if %_verb% EQU 1 (
if %Silent% EQU 0 if %_Debug% EQU 0 ( if %Silent% EQU 0 if %_Debug% EQU 0 (
mode con cols=100 lines=30 mode con cols=100 lines=31
%_Nul3% %_psc% "&%_buf%" %_Nul3% %_psc% "&%_buf%"
) )
echo.&echo %line3%&echo. echo.&echo %line3%&echo.
@ -1133,7 +1133,7 @@ if %winbuild% GEQ 9600 (
) )
if %_verb% EQU 1 ( if %_verb% EQU 1 (
if %Silent% EQU 0 if %_Debug% EQU 0 ( if %Silent% EQU 0 if %_Debug% EQU 0 (
mode con cols=100 lines=30 mode con cols=100 lines=31
) )
echo.&echo %line3%&echo. echo.&echo %line3%&echo.
echo Uninstalling Local KMS Emulator... echo Uninstalling Local KMS Emulator...
@ -1282,11 +1282,12 @@ echo %_TaskEx%
goto :eof goto :eof
:CreateReadMe :CreateReadMe
if exist "!_temp!\ReadMeAIO.html" del /f /q "!_temp!\ReadMeAIO.html" if exist not "%SystemDrive%\Users\Public\ReadMeAIO.html" (
pushd %_temp% pushd %SystemDrive%\Users\Public
%_Nul3% %_psc% "$f=[io.file]::ReadAllText('%~f0') -split ':readme\:.*';iex ($f[1]);" %_Nul3% %_psc% "$f=[io.file]::ReadAllText('%~f0') -split ':readme\:.*';iex ($f[1]);"
popd popd
if exist "!_temp!\ReadMeAIO.html" start "" "!_temp!\ReadMeAIO.html" )
if exist "%SystemDrive%\Users\Public\ReadMeAIO.html" start "" "%SystemDrive%\Users\Public\ReadMeAIO.html"
goto :eof goto :eof
:CreateOEM :CreateOEM
@ -1864,7 +1865,7 @@ goto :%_sC2R%
:casVm :casVm
cls cls
mode con cols=100 lines=30 mode con cols=100 lines=31
title Check Activation Status [vbs] title Check Activation Status [vbs]
%_Nul3% %_psc% "&%_buf%" %_Nul3% %_psc% "&%_buf%"
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
@ -1997,7 +1998,7 @@ goto :eof
:casWm :casWm
cls cls
mode con cols=100 lines=30 mode con cols=100 lines=31
title Check Activation Status [wmic] title Check Activation Status [wmic]
%_Nul3% %_psc% "&%_buf%" %_Nul3% %_psc% "&%_buf%"
setlocal setlocal
@ -4161,7 +4162,7 @@ echo %_err%
echo Unsupported OS version Detected. echo Unsupported OS version Detected.
echo Project is supported only for Windows 7/8/8.1/10 and their Server equivalent. echo Project is supported only for Windows 7/8/8.1/10 and their Server equivalent.
:TheEnd :TheEnd
if exist "!_temp!\ReadMeAIO.html" del /f /q "!_temp!\ReadMeAIO.html" if exist "%SystemDrive%\Users\Public\ReadMeAIO.html" del /f /q "%SystemDrive%\Users\Public\ReadMeAIO.html"
if exist "!_temp!\'" del /f /q "!_temp!\'" if exist "!_temp!\'" del /f /q "!_temp!\'"
if exist "!_temp!\`.txt" del /f /q "!_temp!\`.txt" if exist "!_temp!\`.txt" del /f /q "!_temp!\`.txt"
if defined _quit goto :eof if defined _quit goto :eof