mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-05 07:07:23 +02:00
Delete Enable GamesDows V1
This commit is contained in:
parent
9e6b7096d9
commit
9153e24b96
@ -1,28 +0,0 @@
|
||||
@echo off
|
||||
SETLOCAL EnableExtensions EnableDelayedExpansion
|
||||
|
||||
:: Define paths and parameters
|
||||
SET "STEAM_FOLDER=C:\Program Files (x86)\Steam"
|
||||
SET "STEAM_PATH=%STEAM_FOLDER%\Steam.exe"
|
||||
SET "STEAM_ARGS=-bigpicture -nobootstrapupdate -skipinitialbootstrap -skipverifyfiles"
|
||||
SET "EXPLORER_PATH=C:\Windows\explorer.exe"
|
||||
SET "KEY_NAME=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
|
||||
SET "VALUE_NAME=Shell"
|
||||
SET "SCRIPT_NAME=DelayedExplorerStart.bat"
|
||||
SET "SCRIPT_PATH=%STEAM_FOLDER%\%SCRIPT_NAME%"
|
||||
|
||||
echo Setting Steam Big Picture as default shell
|
||||
|
||||
:: Set Steam Big Picture as the default shell
|
||||
REG ADD "%KEY_NAME%" /v %VALUE_NAME% /t REG_SZ /d "\"%STEAM_PATH%\" %STEAM_ARGS%" /f
|
||||
|
||||
:: Verify if the registry was set correctly
|
||||
REG QUERY "%KEY_NAME%" /v %VALUE_NAME%
|
||||
IF NOT "%ERRORLEVEL%"=="0" (
|
||||
echo Failed to set Steam as the default shell.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Steam set as default shell successfully:
|
||||
REG QUERY "%KEY_NAME%" /v %VALUE_NAME%
|
Loading…
x
Reference in New Issue
Block a user