From 1ca95e4131af76c976b35713f7a59ebcdd62c765 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sat, 15 Feb 2025 15:31:06 -0800 Subject: [PATCH] Update Enable GamesDows Playnite.bat --- Enable GamesDows Playnite.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Enable GamesDows Playnite.bat b/Enable GamesDows Playnite.bat index e6b40cb..0573a90 100644 --- a/Enable GamesDows Playnite.bat +++ b/Enable GamesDows Playnite.bat @@ -1,5 +1,16 @@ @echo off 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