Update Enable GamesDows Playnite.bat

This commit is contained in:
jazir5 2024-11-01 17:56:54 -07:00 committed by GitHub
parent 5f1428c7e3
commit d883fd4115
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,19 +6,16 @@ echo Setting Playnite as default shell
echo Set Playnite as the default shell
SET "KEY_NAME=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
SET "VALUE_NAME=Shell"
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
SET "PLAYNITE_PATH=%LOCALAPPDATA%\Playnite\Playnite.FullscreenApp.exe
REG ADD "%KEY_NAME%" /v %VALUE_NAME% /t REG_SZ /d "%PLAYNITE_PATH%" /f
@echo off
SETLOCAL EnableExtensions EnableDelayedExpansion
echo Define the default Playnite folder path and script names
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
SET "SCRIPT_NAME=DelayedExplorerStart.bat"
SET "SCRIPT_PATH=%PLAYNITE_FOLDER%\%SCRIPT_NAME%"
SET "EXPLORER_PATH=C:\Windows\explorer.exe"
@echo off
SETLOCAL EnableExtensions EnableDelayedExpansion
echo Creating DelayedExplorerStart.bat script
echo Create the DelayedExplorerStart.bat script in the Playnite folder