mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
fix: Update download links (#980)
This commit is contained in:
parent
c82725ec61
commit
6825b6a45a
3 changed files with 9 additions and 5 deletions
|
|
@ -502,7 +502,10 @@ fromFile() {
|
|||
local file="${1,,}"
|
||||
local arch="${PLATFORM,,}"
|
||||
|
||||
case "${file// /_}" in
|
||||
file="${file//-/_}"
|
||||
file="${file// /_}"
|
||||
|
||||
case "$file" in
|
||||
*"_x64_"* | *"_x64."*)
|
||||
arch="x64"
|
||||
;;
|
||||
|
|
@ -517,7 +520,7 @@ fromFile() {
|
|||
local add=""
|
||||
[[ "$arch" != "x64" ]] && add="$arch"
|
||||
|
||||
case "${file// /_}" in
|
||||
case "$file" in
|
||||
"win7"* | "win_7"* | *"windows7"* | *"windows_7"* )
|
||||
id="win7${arch}"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue