feat: refactor file paths to use %LOCALAPPDATA% for user data and logs (#829)

This commit is contained in:
Jeffrey
2026-10-17 00:17:44 +02:00
committed by GitHub
parent 25c3999be5
commit dd1f934174
6 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ function Show-MainWindow {
$menuReportBug.Add_Click({ Start-Process "https://github.com/Raphire/Win11Debloat/issues" })
$menuLogs.Add_Click({
$logsFolder = Join-Path (Split-Path (Split-Path $PSScriptRoot -Parent) -Parent) 'Logs'
$logsFolder = Split-Path -Parent $script:DefaultLogPath
if (Test-Path $logsFolder) {
Start-Process "explorer.exe" -ArgumentList $logsFolder
}