mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-05 07:07:23 +02:00
Update Enable GamesDows Playnite.bat
This commit is contained in:
parent
0dfeccd96d
commit
87c64e1313
@ -46,11 +46,11 @@ echo rem Check if user is logged on
|
|||||||
echo whoami ^| find /i "%USERNAME%" ^>nul
|
echo whoami ^| find /i "%USERNAME%" ^>nul
|
||||||
echo if ERRORLEVEL 1 exit
|
echo if ERRORLEVEL 1 exit
|
||||||
echo rem Set Shell back to Explorer
|
echo rem Set Shell back to Explorer
|
||||||
echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
|
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
|
||||||
echo timeout /t 20 /nobreak ^>nul
|
echo timeout /t 20 /nobreak ^>nul
|
||||||
echo start C:\Windows\explorer.exe
|
echo powershell -WindowStyle Hidden -NoProfile -Command "Start-Process explorer.exe"
|
||||||
echo timeout /t 10 /nobreak ^>nul
|
echo timeout /t 10 /nobreak ^>nul
|
||||||
echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f
|
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f
|
||||||
) > "%SCRIPT_PATH%"
|
) > "%SCRIPT_PATH%"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user