Skip to content

Commit

Permalink
fix(install/windows): use System.IO to get TEMP path (#2995)
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri authored May 2, 2024
1 parent df1bcb2 commit 95969fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Get-Spicetify {
$targetVersion = $latestRelease.tag_name -replace 'v', ''
Write-Success
}
$archivePath = "$env:TEMP\spicetify.zip"
$archivePath = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), "spicetify.zip")
}
process {
Write-Host -Object "Downloading spicetify v$targetVersion..." -NoNewline
Expand Down

0 comments on commit 95969fb

Please sign in to comment.