append '-config' to temp program storage (example conflict: $TMP/nvim)

This commit is contained in:
Baipyrus 2024-08-27 13:57:26 +02:00
parent 70ce58790a
commit 1f821376d1

View File

@ -82,7 +82,7 @@ function ProcessUrlFiles
# Create temporary directory for curl # Create temporary directory for curl
$appname = $sourceDir.Split('\')[-1] $appname = $sourceDir.Split('\')[-1]
$tmpApp = "$env:TMP\$appname" $tmpApp = "$env:TMP\$appname-config"
if (-not (Test-Path $tmpApp)) if (-not (Test-Path $tmpApp))
{ New-Item -ItemType Directory -Path $tmpApp { New-Item -ItemType Directory -Path $tmpApp
} }