From a454bf92a3303a1008eb774e120101423b178873 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:46:26 +0200 Subject: [PATCH] fix: update log file path to use %LOCALAPPDATA% for consistency --- Run.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Run.bat b/Run.bat index 7b88b13..c0b5600 100644 --- a/Run.bat +++ b/Run.bat @@ -4,10 +4,11 @@ setlocal :: Set Windows Terminal installation paths. (Default and Scoop installation) set "wtDefaultPath=%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe" set "wtScoopPath=%USERPROFILE%\scoop\apps\windows-terminal\current\wt.exe" -set "logFile=%~dp0Logs\Win11Debloat-Run.log" +set "logDir=%LOCALAPPDATA%\Win11Debloat\Logs" +set "logFile=%logDir%\Win11Debloat-Run.log" :: Ensure Logs folder exists -if not exist "%~dp0Logs" mkdir "%~dp0Logs" +if not exist "%logDir%" mkdir "%logDir%" :: Determine which terminal exists if exist "%wtDefaultPath%" (