Sfoglia il codice sorgente

feat: Add Tiny11 option (#111)

Kroese 1 anno fa
parent
commit
b4371bd37d
2 ha cambiato i file con 22 aggiunte e 16 eliminazioni
  1. 11 10
      readme.md
  2. 11 6
      src/install.sh

+ 11 - 10
readme.md

@@ -76,16 +76,17 @@ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
     
     | **Value**  | **Description**  | **Server**  | **Transfer**  | **Size**  |
     |---|---|---|---|---|
-    | ```win11```      | Windows 11 Pro       | Microsoft       | Fast       | 6.4 GB       |
-    | ```win10```      | Windows 10 Pro       | Microsoft       | Fast       | 5.8 GB       |
-    | ```ltsc10```      | Windows 10 LTSC       | Microsoft       | Fast       | 4.6 GB       |
-    | ```win81```      | Windows 8.1 Pro       | Microsoft       | Fast       | 4.2 GB       |
-    | ```win7```      | Windows 7 SP1       | Bob Pony      | Medium       | 3.0 GB       |
-    | ```win22```      | Windows Server 2022       | Microsoft       | Fast       | 4.7 GB       |
-    | ```win19```      | Windows Server 2019       | Microsoft       | Fast       | 5.3 GB       |
-    | ```win16```      | Windows Server 2016       | Microsoft       | Fast       | 6.5 GB       |
-    | ```tiny10```      | Tiny 10      | Archive.org      | Slow       | 3.6 GB       |
-    | ```tiny11```      | Tiny 11 Core      | Archive.org      | Slow       | 2.1 GB       |
+    | `win11`      | Windows 11 Pro       | Microsoft       | Fast       | 6.4 GB       |
+    | `win10`      | Windows 10 Pro       | Microsoft       | Fast       | 5.8 GB       |
+    | `ltsc10`      | Windows 10 LTSC       | Microsoft       | Fast       | 4.6 GB       |
+    | `win81`      | Windows 8.1 Pro       | Microsoft       | Fast       | 4.2 GB       |
+    | `win7`      | Windows 7 SP1       | Bob Pony      | Medium       | 3.0 GB       |
+    | `win22`      | Windows Server 2022       | Microsoft       | Fast       | 4.7 GB       |
+    | `win19`      | Windows Server 2019       | Microsoft       | Fast       | 5.3 GB       |
+    | `win16`      | Windows Server 2016       | Microsoft       | Fast       | 6.5 GB       |
+    | `tiny10`      | Tiny 10      | Archive.org      | Slow       | 3.6 GB       |
+    | `tiny11`      | Tiny 11      | Archive.org      | Slow       | 3.8 GB       |
+    | `core11`      | Tiny 11 Core      | Archive.org      | Slow       | 2.1 GB       |
   
   * ### How do I increase the amount of CPU or RAM?
 

+ 11 - 6
src/install.sh

@@ -48,21 +48,26 @@ if [[ "${VERSION,,}" == "win10x64-enterprise-ltsc-eval" ]]; then
   DETECTED="win10x64-ltsc"
 fi
 
-if [[ "${VERSION,,}" == "tiny10" ]]; then
-  DETECTED="win10x64-ltsc"
-  VERSION="https://archive.org/download/tiny-10-23-h2/tiny10%20x64%2023h2.iso"
-fi
-
 if [[ "${VERSION,,}" == "win7x64" ]]; then
   DETECTED="win7x64"
   VERSION="https://dl.bobpony.com/windows/7/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso"
 fi
 
-if [[ "${VERSION,,}" == "tiny11" ]]; then
+if [[ "${VERSION,,}" == "core11" ]]; then
   DETECTED="win11x64"
   VERSION="https://archive.org/download/tiny-11-core-x-64-beta-1/tiny11%20core%20x64%20beta%201.iso"
 fi
 
+if [[ "${VERSION,,}" == "tiny11" ]]; then
+  DETECTED="win11x64"
+  VERSION="https://archive.org/download/tiny11-2311/tiny11%202311%20x64.iso"
+fi
+
+if [[ "${VERSION,,}" == "tiny10" ]]; then
+  DETECTED="win10x64-ltsc"
+  VERSION="https://archive.org/download/tiny-10-23-h2/tiny10%20x64%2023h2.iso"
+fi
+
 CUSTOM="custom.iso"
 
 [ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="Custom.iso"