feat: refactor file paths to use %LOCALAPPDATA% for user data and logs

This commit is contained in:
Jeffrey
2026-10-16 00:17:26 +02:00
parent 4079b276e9
commit c10c957184
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
}