Skip to content

Commit aa8a832

Browse files
committed
Update config path for Windows to use LOCALAPPDATA instead of APPDATA
1 parent 914e01b commit aa8a832

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: runner.os == 'Windows'
3939
shell: pwsh
4040
run: |
41-
$configPath = "$env:APPDATA\PSFavorite"
41+
$configPath = "$env:LOCALAPPDATA\PSFavorite"
4242
New-Item -ItemType Directory -Path $configPath -Force | Out-Null
4343
New-Item -ItemType File -Path "$configPath\Favorites.txt" -Force | Out-Null
4444

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: runner.os == 'Windows'
4545
shell: pwsh
4646
run: |
47-
$configPath = "$env:APPDATA\PSFavorite"
47+
$configPath = "$env:LOCALAPPDATA\PSFavorite"
4848
New-Item -ItemType Directory -Path $configPath -Force | Out-Null
4949
New-Item -ItemType File -Path "$configPath\Favorites.txt" -Force | Out-Null
5050

0 commit comments

Comments
 (0)