mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-08-04 04:16:42 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9f62c88fc1 | ||
![]() |
56c5b6a91e |
@@ -25,7 +25,7 @@ echo ================================
|
|||||||
|
|
||||||
:: 1) Reset the default shell to Explorer
|
:: 1) Reset the default shell to Explorer
|
||||||
echo [1/5] Resetting default shell to Explorer...
|
echo [1/5] Resetting default shell to Explorer...
|
||||||
REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^
|
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^
|
||||||
/v "Shell" /t REG_SZ /d "C:\Windows\explorer.exe" /f
|
/v "Shell" /t REG_SZ /d "C:\Windows\explorer.exe" /f
|
||||||
if ERRORLEVEL 1 (
|
if ERRORLEVEL 1 (
|
||||||
echo [ERROR] Failed to reset the default shell.
|
echo [ERROR] Failed to reset the default shell.
|
||||||
|
@@ -18,7 +18,7 @@ echo Set Playnite as the default shell
|
|||||||
SET "KEY_NAME=HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
|
SET "KEY_NAME=HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
|
||||||
SET "VALUE_NAME=Shell"
|
SET "VALUE_NAME=Shell"
|
||||||
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
|
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
|
||||||
SET "PLAYNITE_PATH=%LOCALAPPDATA%\Playnite\Playnite.FullscreenApp.exe
|
SET "PLAYNITE_PATH=%LOCALAPPDATA%\Playnite\Playnite.FullscreenApp.exe"
|
||||||
REG ADD "%KEY_NAME%" /v %VALUE_NAME% /t REG_SZ /d "%PLAYNITE_PATH%" /f
|
REG ADD "%KEY_NAME%" /v %VALUE_NAME% /t REG_SZ /d "%PLAYNITE_PATH%" /f
|
||||||
SET "SCRIPT_NAME=DelayedExplorerStart.bat"
|
SET "SCRIPT_NAME=DelayedExplorerStart.bat"
|
||||||
SET "SCRIPT_PATH=%PLAYNITE_FOLDER%\%SCRIPT_NAME%"
|
SET "SCRIPT_PATH=%PLAYNITE_FOLDER%\%SCRIPT_NAME%"
|
||||||
|
Reference in New Issue
Block a user