From 24a9f0e79858cd0a74e9e17e2114faac42df0994 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Wed, 5 Mar 2025 22:21:10 -0800 Subject: [PATCH] Update Enable GamesDows Steam V3.bat --- Enable GamesDows Steam V3.bat | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/Enable GamesDows Steam V3.bat b/Enable GamesDows Steam V3.bat index 6e8b56c..44435c5 100644 --- a/Enable GamesDows Steam V3.bat +++ b/Enable GamesDows Steam V3.bat @@ -23,22 +23,11 @@ SET "STEAM_FOLDER=C:\Program Files (x86)\Steam" SET "SCRIPT_NAME=DelayedExplorerStart.bat" SET "SCRIPT_PATH=%STEAM_FOLDER%\%SCRIPT_NAME%" SET "EXPLORER_PATH=C:\Windows\explorer.exe" -SET "MANIFEST_PATH=%STEAM_PATH%.manifest" +SET "STEAM_EXE=C:\Program Files (x86)\Steam\Steam.exe" +SET "MANIFEST_PATH=%STEAM_EXE%.manifest" -:: Create the manifest file to force admin privileges for Steam -echo Creating manifest file for Steam to run as admin... -( -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -echo ^ -) > "%MANIFEST_PATH%" +echo Copying pre-created manifest file... +copy "%~dp0steam.manifest" "%MANIFEST_PATH%" >nul 2>&1 echo Creating DelayedExplorerStart.bat script