Fix tmp order
This commit is contained in:
48
setupTmp.ps1
48
setupTmp.ps1
@@ -6,26 +6,6 @@ function DownloadFiles {
|
||||
)
|
||||
|
||||
switch ($Type) {
|
||||
"Info" {
|
||||
$filesToDownload = @(
|
||||
@{
|
||||
Url = "https://education.lego.com/_/downloads/EV3_Classroom_Windows_1.5.3_Global.msi" # Validated 07/11/23
|
||||
FileName = "EV3_Classroom_Windows_1.5.3_Global.msi"
|
||||
},
|
||||
@{
|
||||
Url = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/Setup%20files/simulation.zip" # Validated 07/11/23
|
||||
FileName = "simulation.zip"
|
||||
},
|
||||
@{
|
||||
Url = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/Setup%20files/RobotProg.zip" # Validated 07/11/23
|
||||
FileName = "RobotProg.zip"
|
||||
},
|
||||
@{
|
||||
Url = "https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/fr-fr/O365ProPlusRetail.img" # Validated 07/11/23
|
||||
FileName = "O365ProPlusRetail.img"
|
||||
}
|
||||
)
|
||||
}
|
||||
"Labo" {
|
||||
$filesToDownload = @(
|
||||
@{
|
||||
@@ -89,7 +69,27 @@ function DownloadFiles {
|
||||
FileName = "O365ProPlusRetail.img"
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
"Info" {
|
||||
$filesToDownload = @(
|
||||
@{
|
||||
Url = "https://education.lego.com/_/downloads/EV3_Classroom_Windows_1.5.3_Global.msi" # Validated 07/11/23
|
||||
FileName = "EV3_Classroom_Windows_1.5.3_Global.msi"
|
||||
},
|
||||
@{
|
||||
Url = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/Setup%20files/simulation.zip" # Validated 07/11/23
|
||||
FileName = "simulation.zip"
|
||||
},
|
||||
@{
|
||||
Url = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/Setup%20files/RobotProg.zip" # Validated 07/11/23
|
||||
FileName = "RobotProg.zip"
|
||||
},
|
||||
@{
|
||||
Url = "https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/fr-fr/O365ProPlusRetail.img" # Validated 07/11/23
|
||||
FileName = "O365ProPlusRetail.img"
|
||||
}
|
||||
)
|
||||
}
|
||||
"Laptop" {
|
||||
$filesToDownload = @(
|
||||
@{
|
||||
@@ -97,15 +97,15 @@ function DownloadFiles {
|
||||
FileName = "O365ProPlusRetail.img"
|
||||
}
|
||||
)
|
||||
}
|
||||
"Office" {
|
||||
}
|
||||
"Office" {
|
||||
$filesToDownload = @(
|
||||
@{
|
||||
Url = "https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/fr-fr/O365ProPlusRetail.img" # Validated 07/11/23
|
||||
FileName = "O365ProPlusRetail.img"
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
default { Write-Host "Invalid selection." }
|
||||
}
|
||||
foreach ($fileInfo in $filesToDownload) {
|
||||
|
||||
Reference in New Issue
Block a user