Update define.sh

This commit is contained in:
Kroese 2024-04-30 06:34:01 +02:00 committed by GitHub
parent 7ad1456d47
commit 65b680124a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,8 +112,31 @@ getVersion() {
return 0
}
getLink() {
# Fallbacks for users who cannot connect to the Microsoft servers
local id="$1"
local url=""
local host="https://drive.massgrave.dev"
case "${id,,}" in
"win11${PLATFORM,,}")
url="$host/SW_DVD9_Win_Pro_11_23H2.2_Arm64_English_Pro_Ent_EDU_N_MLF_X23-68023.ISO"
;;
"win10${PLATFORM,,}")
url="$host/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO"
;;
esac
echo "$url"
return 0
}
secondLink() {
# Fallbacks for users who cannot connect to the Microsoft servers
local id="$1"
local url=""
local host="https://dl.bobpony.com"