Update define.sh
This commit is contained in:
parent
7ad1456d47
commit
65b680124a
1 changed files with 23 additions and 0 deletions
|
|
@ -112,8 +112,31 @@ getVersion() {
|
||||||
return 0
|
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() {
|
secondLink() {
|
||||||
|
|
||||||
|
# Fallbacks for users who cannot connect to the Microsoft servers
|
||||||
|
|
||||||
local id="$1"
|
local id="$1"
|
||||||
local url=""
|
local url=""
|
||||||
local host="https://dl.bobpony.com"
|
local host="https://dl.bobpony.com"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue