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 {
|
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 = @(
|
||||||
|
|||||||
Reference in New Issue
Block a user