Moved tmp location

This commit is contained in:
2024-06-20 12:17:59 +02:00
parent 176fe7fd82
commit ba50689c3e

View File

@@ -1,10 +1,14 @@
$tmpPath = Join-Path $env:LOCALAPPDATA "Temp" $tmpPath = Join-Path $env:LOCALAPPDATA "Temp\Script-setup"
function DownloadFiles { function DownloadFiles {
param ( param (
[string] $Type [string] $Type
) )
if (-not (Test-Path -Path $tmpPath -PathType Container)) {
New-Item -Path $tmpPath -ItemType Directory
}
switch ($Type) { switch ($Type) {
"Labo" { "Labo" {
$filesToDownload = @( $filesToDownload = @(