mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-10-17 03:02:04 +00:00
feat: refactor file paths to use %LOCALAPPDATA% for user data and logs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user