mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
fix: Remove NIXSYS download mirrors (#1900)
This commit is contained in:
+1
-45
@@ -32,7 +32,7 @@ KEYBOARD=$(strip "$KEYBOARD")
|
||||
LANGUAGE=$(strip "$LANGUAGE")
|
||||
USERNAME=$(strip "$USERNAME")
|
||||
|
||||
MIRRORS=4
|
||||
MIRRORS=3
|
||||
|
||||
parseVersion() {
|
||||
|
||||
@@ -1027,50 +1027,6 @@ getLink2() {
|
||||
|
||||
getLink3() {
|
||||
|
||||
local id="$1"
|
||||
local lang="$2"
|
||||
local ret="$3"
|
||||
local url=""
|
||||
local sum=""
|
||||
local size=""
|
||||
local host="https://nixsys.com/drivers"
|
||||
|
||||
[[ "${lang,,}" != "en" && "${lang,,}" != "en-us" ]] && return 0
|
||||
|
||||
case "${id,,}" in
|
||||
"win7x64" | "win7x64-ultimate" )
|
||||
size=3319478272
|
||||
sum="3286963e1476082ba882a5058c205c264772bead9e99e15cd1cb255f04b72900"
|
||||
url="WINDOWS764_EN_DVD.iso"
|
||||
;;
|
||||
"win7x86" | "win7x86-ultimate" )
|
||||
size=2564784128
|
||||
sum="bd4c03c917d00a40222d92a6fab04981a7bd46140bda1888eb961a322e3c5d89"
|
||||
url="WINDOWS732_EN_DVD.iso"
|
||||
;;
|
||||
"winxpx86" )
|
||||
size=618065920
|
||||
sum="8177d0137dfe4e8296a85793f140806c9250a5992c8e0e50158c742767ad1182"
|
||||
url="WinXPsp3.iso"
|
||||
;;
|
||||
"win2kx86" )
|
||||
size=387424256
|
||||
sum="08b11c3897eb38d1e6566a17cec5cdf2b3c620444e160e3db200a7e223aabbd8"
|
||||
url="Windows_2000_SP4.iso"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${ret,,}" in
|
||||
"sum" ) echo "$sum" ;;
|
||||
"size" ) echo "$size" ;;
|
||||
*) [ -n "$url" ] && echo "$host/$url";;
|
||||
esac
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
getLink4() {
|
||||
|
||||
local id="$1"
|
||||
local lang="$2"
|
||||
local ret="$3"
|
||||
|
||||
Reference in New Issue
Block a user