Update setupScriptInfo.ps1
This commit is contained in:
@@ -13,6 +13,14 @@ $filesToDownload = @(
|
||||
Url = "https://cdn.discordapp.com/attachments/704760633379389533/1161288505390026772/simulation.zip"
|
||||
FileName = "Simulation Domotique.zip"
|
||||
},
|
||||
@{
|
||||
Url = "https://downloads.scratch.mit.edu/desktop/Scratch%20Setup.exe"
|
||||
FileName = "Scratch%20Setup.exe"
|
||||
},
|
||||
@{
|
||||
Url = "https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.exe"
|
||||
FileName = "arduino-ide_2.2.1_Windows_64bit.exe"
|
||||
},
|
||||
@{
|
||||
Url = "https://cdn.discordapp.com/attachments/704760633379389533/1161288504765059172/RobotProg.zip"
|
||||
FileName = "RobotProg.zip"
|
||||
@@ -124,16 +132,7 @@ choco install sublimetext4 -y
|
||||
choco install vlc -y
|
||||
choco install audacity -y
|
||||
|
||||
$ErrorActionPreference = 'Stop';
|
||||
$packageArgs = @{
|
||||
packageName = 'scratch'
|
||||
fileType = 'EXE'
|
||||
Url = 'https://downloads.scratch.mit.edu/desktop/Scratch%20Setup.exe'
|
||||
checksum = 'dfca2f1a842aea69a2b0a22ca66fa7852f86259e3da4f576f8ae7fa16f1e9134'
|
||||
checksumType = 'sha256'
|
||||
validExitCodes= @(0)
|
||||
}
|
||||
Install-ChocolateyPackage @packageArgs
|
||||
Start-Process -FilePath $(Join-Path $tmpPath "Scratch%20Setup.exe")
|
||||
|
||||
choco install mblock -y
|
||||
Expand-Archive -Path (Join-Path $tmpPath "Simulation Domotique.zip") -DestinationPath $env:ProgramFiles -Force
|
||||
@@ -154,16 +153,7 @@ $shortcut.IconLocation = $targetExePath
|
||||
$shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
||||
$shortcut.Save()
|
||||
|
||||
$packageArgs = @{
|
||||
packageName = 'arduino'
|
||||
fileType = 'EXE'
|
||||
Url = 'https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.exe'
|
||||
checksum = 'a2e29f8bcfb0ee1292c035ee2eea54e4c3632e26ff9c5c5f9dfacd7869ee3fc4'
|
||||
checksumType = 'sha256'
|
||||
softwareName = 'Arduino*'
|
||||
validExitCodes= @(0)
|
||||
}
|
||||
Install-ChocolateyPackage @packageArgs
|
||||
Start-Process -FilePath $(Join-Path $tmpPath "arduino-ide_2.2.1_Windows_64bit.exe")
|
||||
|
||||
choco install ganttproject -y
|
||||
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"
|
||||
|
||||
Reference in New Issue
Block a user