Skip to content

Commit

Permalink
Update Enable GamesDows Playnite.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
jazir555 authored Nov 2, 2024
1 parent 5f1428c commit d883fd4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Enable GamesDows Playnite.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d883fd4

Please sign in to comment.