Skip to content

Commit

Permalink
Add Eduroam to the installer script
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Dec 4, 2023
1 parent 079357a commit 71919ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Install-Software.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,13 @@ function Install-BaslerPylon([string]$Version = "7_4_0_14900") {
}

function Install-CorelDRAW {
Show-Output "Downloading CorelDRAW"
Install-FromUri -Name "CorelDRAW" -Uri "https://www.corel.com/akdlm/6763/downloads/free/trials/GraphicsSuite/22H1/JL83s3fG/CDGS.exe" -Filename "CDGS.exe"
}

function Install-Eduroam {
Install-FromUri -Name "Eduroam" -Uri "https://dl.eduroam.app/windows/x86_64/geteduroam.exe" -Filename "geteduroam.exe"
}

function Install-Git {
<#
.SYNOPSIS
Expand Down Expand Up @@ -431,6 +434,7 @@ function Install-Xeneth {
$OtherOperations = [ordered]@{
"Basler Pylon" = ${function:Install-BaslerPylon}, "Driver for Basler cameras";
"CorelDRAW" = ${function:Install-CorelDRAW}, "Graphic design, illustration and technical drawing software. Requires a license.";
"Eduroam" = ${function:Install-Eduroam}, "University Wi-Fi";
"Geekbench" = ${function:Install-Geekbench}, "Performance testing utility, versions 2-5. Commercial use requires a license.";
"Git" = ${function:Install-Git}, "Git with custom arguments (SSH available from PATH etc.)";
"IDS Peak" = ${function:Install-IDSPeak}, "Driver for IDS cameras and old Thorlabs cameras";
Expand Down
5 changes: 3 additions & 2 deletions Utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,9 @@ function Invoke-WebRequestFast {
[Parameter(Mandatory=$true)][string]$OutFile
)
if (Test-CommandExists "curl.exe") {
# The --http3 argument is not supported on Windows 11 22H2
curl.exe --url "${Uri}" --output "${OutFile}" --tlsv1.2 --http2
# The --http2 and --http3 arguments are not supported on Windows 11 22H2
# https://github.com/microsoft/WSL/issues/3141
curl.exe --url "${Uri}" --output "${OutFile}" --tlsv1.2
} else {
$PreviousProgressPreference = $ProgressPreference
$ProgressPreference = "SilentlyContinue"
Expand Down

0 comments on commit 71919ba

Please sign in to comment.