File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -859,7 +859,7 @@ is_have_arm_version() {
859859
860860find_windows_iso () {
861861 parse_windows_image_name || error_and_exit " --image-name wrong: $image_name "
862- if ! [ " $version " = 8.1 ] && [ -z " $edition " ]; then
862+ if ! { [ " $version " = 8 ] || [ " $version " = 8 .1 ]; } && [ -z " $edition " ]; then
863863 error_and_exit " Edition is not set."
864864 fi
865865
@@ -908,7 +908,8 @@ get_windows_iso_link() {
908908 x86) echo _ ;;
909909 esac
910910 ;;
911- homebasic | homepremium | business | ultimate) echo _ ;;
911+ homebasic | homepremium | ultimate) echo _ ;;
912+ business | enterprise) " $edition " ;;
912913 esac
913914 ;;
914915 7)
@@ -927,10 +928,9 @@ get_windows_iso_link() {
927928 professional | enterprise | ultimate) echo " $edition " ;;
928929 esac
929930 ;;
930- # massgrave 不提供 windows 8 下载
931- 8.1)
931+ 8 | 8.1)
932932 case " $edition " in
933- ' ' ) echo _ ;; # windows 8.1 core
933+ ' ' ) echo _ ;; # windows 8.x core
934934 pro | enterprise) echo " $edition " ;;
935935 esac
936936 ;;
@@ -1025,7 +1025,7 @@ get_windows_iso_link() {
10251025 echo server
10261026 else
10271027 case " $version " in
1028- vista | 7 | 8.1 | 10 | 11)
1028+ vista | 7 | 8 | 8 .1 | 10 | 11)
10291029 echo " $version "
10301030 ;;
10311031 esac
You can’t perform that action at this time.
0 commit comments