-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat: Added support for Reactos #1999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9b7783c
205402c
816697d
e0f6747
2ab18b5
b709401
8fb9804
87cb580
271e0d1
0749f47
50fd870
70cee50
7bfecce
840272d
1142d02
2820d77
6ec2a85
a4e72a2
8e8f228
a32e02d
e5b6ff7
649d799
22e85ad
a8b143c
a8cb27b
02018f4
160709b
758827d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -67,7 +67,7 @@ SERVER_EDITION_ORDER=( | |||||
| "-hv|hv|hv hv-*" | ||||||
| ) | ||||||
|
|
||||||
| MIRRORS=3 | ||||||
| MIRRORS=4 | ||||||
|
|
||||||
| parseVersion() { | ||||||
|
|
||||||
|
|
@@ -184,6 +184,9 @@ parseVersion() { | |||||
| "tiny10" | "tiny 10" ) | ||||||
| VERSION="tiny10" | ||||||
| ;; | ||||||
| "reactos" | "react os" ) | ||||||
| VERSION="reactos" | ||||||
| ;; | ||||||
| esac | ||||||
|
|
||||||
| SUGGEST=$(getSuggestedVersion "$VERSION") | ||||||
|
|
@@ -483,6 +486,7 @@ printVersion() { | |||||
| "tiny11"* ) desc="Tiny 11" ;; | ||||||
| "tiny10"* ) desc="Tiny 10" ;; | ||||||
| "core11"* ) desc="Core 11" ;; | ||||||
| "reactos"* ) desc="Reactos" ;; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @binarymaster Thanks! It is now fixed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you! |
||||||
| "win7"* ) desc="Windows 7" ;; | ||||||
| "win8"* ) desc="Windows 8" ;; | ||||||
| "win10"* ) desc="Windows 10" ;; | ||||||
|
|
@@ -690,6 +694,8 @@ fromFile() { | |||||
| id="tiny11" ;; | ||||||
| "tiny10"* | "tiny_10"* ) | ||||||
| id="tiny10" ;; | ||||||
| "reactos"* ) | ||||||
| id="reactos" ;; | ||||||
| *"_serverhypercore_"* ) | ||||||
| id="win2019${add}-hv" ;; | ||||||
| *"server2025"* | *"server_2025"* ) | ||||||
|
|
@@ -1299,6 +1305,35 @@ getLink2() { | |||||
|
|
||||||
| getLink3() { | ||||||
|
|
||||||
| local id="$1" | ||||||
| local lang="$2" | ||||||
| local ret="$3" | ||||||
| local url="" | ||||||
| local sum="" | ||||||
| local size="" | ||||||
| local host="https://iso.reactos.org" | ||||||
|
|
||||||
| [[ "${lang,,}" != "en" && "${lang,,}" != "en-us" ]] && return 0 | ||||||
|
|
||||||
| case "${id,,}" in | ||||||
| "reactos" ) | ||||||
| size=0 | ||||||
| sum="" | ||||||
| url="livecd/latest-x86-gcc-lin-rel" | ||||||
| ;; | ||||||
| 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" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.