Moved tmp location
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
$tmpPath = Join-Path $env:LOCALAPPDATA "Temp"
|
||||
$tmpPath = Join-Path $env:LOCALAPPDATA "Temp\Script-setup"
|
||||
|
||||
function DownloadFiles {
|
||||
param (
|
||||
[string] $Type
|
||||
)
|
||||
|
||||
if (-not (Test-Path -Path $tmpPath -PathType Container)) {
|
||||
New-Item -Path $tmpPath -ItemType Directory
|
||||
}
|
||||
|
||||
switch ($Type) {
|
||||
"Labo" {
|
||||
$filesToDownload = @(
|
||||
|
||||
Reference in New Issue
Block a user