From 2a54a322ce37a8df09a77e67c2ca5d81589603aa Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Mon, 27 May 2024 14:44:10 -0700 Subject: [PATCH] Use cross-platform temp folder retrieval --- install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index 5c2e1e8..880a1a4 100644 --- a/install.ps1 +++ b/install.ps1 @@ -49,7 +49,7 @@ function Install-ArdisUtilities { begin { # Create a temporary working folder - $tempFolder = Join-Path $Env:Temp $(New-Guid) + $tempFolder = Join-Path $([IO.Path]::GetTempPath()) $(New-Guid) New-Item -Type Directory -Path $tempFolder | Out-Null } -- 2.47.3