mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
windows: 添加 win8 链接
This commit is contained in:
12
reinstall.sh
12
reinstall.sh
@ -859,7 +859,7 @@ is_have_arm_version() {
|
|||||||
|
|
||||||
find_windows_iso() {
|
find_windows_iso() {
|
||||||
parse_windows_image_name || error_and_exit "--image-name wrong: $image_name"
|
parse_windows_image_name || error_and_exit "--image-name wrong: $image_name"
|
||||||
if ! [ "$version" = 8.1 ] && [ -z "$edition" ]; then
|
if ! { [ "$version" = 8 ] || [ "$version" = 8.1 ]; } && [ -z "$edition" ]; then
|
||||||
error_and_exit "Edition is not set."
|
error_and_exit "Edition is not set."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -908,7 +908,8 @@ get_windows_iso_link() {
|
|||||||
x86) echo _ ;;
|
x86) echo _ ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
homebasic | homepremium | business | ultimate) echo _ ;;
|
homebasic | homepremium | ultimate) echo _ ;;
|
||||||
|
business | enterprise) "$edition" ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
@ -927,10 +928,9 @@ get_windows_iso_link() {
|
|||||||
professional | enterprise | ultimate) echo "$edition" ;;
|
professional | enterprise | ultimate) echo "$edition" ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
# massgrave 不提供 windows 8 下载
|
8 | 8.1)
|
||||||
8.1)
|
|
||||||
case "$edition" in
|
case "$edition" in
|
||||||
'') echo _ ;; # windows 8.1 core
|
'') echo _ ;; # windows 8.x core
|
||||||
pro | enterprise) echo "$edition" ;;
|
pro | enterprise) echo "$edition" ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
@ -1025,7 +1025,7 @@ get_windows_iso_link() {
|
|||||||
echo server
|
echo server
|
||||||
else
|
else
|
||||||
case "$version" in
|
case "$version" in
|
||||||
vista | 7 | 8.1 | 10 | 11)
|
vista | 7 | 8 | 8.1 | 10 | 11)
|
||||||
echo "$version"
|
echo "$version"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user