mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-30 20:45:50 +00:00 
			
		
		
		
	Update install.sh
This commit is contained in:
		
							parent
							
								
									7f47f7bce8
								
							
						
					
					
						commit
						af8aee7408
					
				
					 1 changed files with 17 additions and 3 deletions
				
			
		|  | @ -207,11 +207,26 @@ getESD() { | |||
| 
 | ||||
|   local dir="$1" | ||||
|   local version="$2" | ||||
|   local editionName | ||||
|   local winCatalog size | ||||
| 
 | ||||
|   case "${version,,}" in | ||||
|     "win11${PLATFORM,,}" ) winCatalog="https://go.microsoft.com/fwlink?linkid=2156292" ;; | ||||
|     "win10${PLATFORM,,}" ) winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361" ;; | ||||
|     "win11${PLATFORM,,}" ) | ||||
|       editionName="Professional" | ||||
|       winCatalog="https://go.microsoft.com/fwlink?linkid=2156292" | ||||
|       ;; | ||||
|     "win10${PLATFORM,,}" ) | ||||
|       editionName="Professional" | ||||
|       winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361" | ||||
|       ;; | ||||
|     "win11${PLATFORM,,}-enterprise" ) | ||||
|       editionName="Enterprise" | ||||
|       winCatalog="https://go.microsoft.com/fwlink?linkid=2156292" | ||||
|       ;; | ||||
|     "win10${PLATFORM,,}-enterprise" ) | ||||
|       editionName="Enterprise" | ||||
|       winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361" | ||||
|       ;; | ||||
|     *) error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1 ;; | ||||
|   esac | ||||
| 
 | ||||
|  | @ -243,7 +258,6 @@ getESD() { | |||
|   fi | ||||
| 
 | ||||
|   local esdLang="en-us" | ||||
|   local editionName="Professional" | ||||
|   local edQuery='//File[Architecture="'${PLATFORM}'"][Edition="'${editionName}'"]' | ||||
| 
 | ||||
|   echo -e '<Catalog>' > "$dir/$fFile" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kroese
						Kroese