Update setupScriptInfo.ps1
This commit is contained in:
@@ -124,13 +124,17 @@ 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
|
||||
|
||||
Install-ChocolateyPackage -PackageName "scratch" `
|
||||
-FileType "exe" `
|
||||
-Url "https://downloads.scratch.mit.edu/desktop/Scratch%20Setup.exe" `
|
||||
-ValidExitCodes @(0) `
|
||||
-Checksum "dfca2f1a842aea69a2b0a22ca66fa7852f86259e3da4f576f8ae7fa16f1e9134" `
|
||||
-ChecksumType "sha256"
|
||||
choco install mblock -y
|
||||
Expand-Archive -Path (Join-Path $tmpPath "Simulation Domotique.zip") -DestinationPath $env:ProgramFiles -Force
|
||||
$sourceFolderPath = Join-Path $env:ProgramFiles "simulation"
|
||||
@@ -149,7 +153,18 @@ $shortcut.TargetPath = $targetExePath
|
||||
$shortcut.IconLocation = $targetExePath
|
||||
$shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
||||
$shortcut.Save()
|
||||
choco install arduino -y
|
||||
|
||||
$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
|
||||
|
||||
choco install ganttproject -y
|
||||
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"
|
||||
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait
|
||||
|
||||
Reference in New Issue
Block a user