mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-08-06 13:18:28 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9f62c88fc1 | ||
![]() |
56c5b6a91e | ||
![]() |
fafd7a2010 | ||
![]() |
1ca95e4131 | ||
![]() |
d3ee9e4289 |
@@ -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.
|
||||||
|
@@ -1,5 +1,16 @@
|
|||||||
@echo off
|
@echo off
|
||||||
SETLOCAL EnableExtensions
|
SETLOCAL EnableExtensions
|
||||||
|
@echo off
|
||||||
|
echo Checking for administrative privileges
|
||||||
|
net session >nul 2>&1
|
||||||
|
if %errorlevel% neq 0 (
|
||||||
|
echo ====================================================
|
||||||
|
echo This script must be run with administrative privileges.
|
||||||
|
echo Please right-click on the script and select "Run as administrator."
|
||||||
|
echo ====================================================
|
||||||
|
pause
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
echo Setting Playnite as default shell
|
echo Setting Playnite as default shell
|
||||||
|
|
||||||
@@ -7,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%"
|
||||||
|
@@ -1,6 +1,15 @@
|
|||||||
@echo off
|
@echo off
|
||||||
SETLOCAL EnableExtensions EnableDelayedExpansion
|
SETLOCAL EnableExtensions EnableDelayedExpansion
|
||||||
|
echo Checking for administrative privileges
|
||||||
|
net session >nul 2>&1
|
||||||
|
if %errorlevel% neq 0 (
|
||||||
|
echo ====================================================
|
||||||
|
echo This script must be run with administrative privileges.
|
||||||
|
echo Please right-click on the script and select "Run as administrator."
|
||||||
|
echo ====================================================
|
||||||
|
pause
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
echo Setting Steam Big Picture as default shell
|
echo Setting Steam Big Picture as default shell
|
||||||
|
|
||||||
echo Set Steam Big Picture as the default shell
|
echo Set Steam Big Picture as the default shell
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
|
|
Reference in New Issue
Block a user