mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 23:23:50 +00:00
append '-config' to temp program storage (example conflict: $TMP/nvim)
This commit is contained in:
parent
70ce58790a
commit
1f821376d1
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user