From d883fd411500f8196033e9d16d058c436d66a0f0 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:56:54 -0700 Subject: [PATCH] Update Enable GamesDows Playnite.bat --- Enable GamesDows Playnite.bat | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Enable GamesDows Playnite.bat b/Enable GamesDows Playnite.bat index f8d75e9..c4a1327 100644 --- a/Enable GamesDows Playnite.bat +++ b/Enable GamesDows Playnite.bat @@ -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