mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-30 20:45:50 +00:00 
			
		
		
		
	Update define.sh
This commit is contained in:
		
							parent
							
								
									b9f003a873
								
							
						
					
					
						commit
						afd3c867be
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -396,29 +396,35 @@ getCatalog() { | |||
|   local id="$1" | ||||
|   local ret="$2" | ||||
|   local url="" | ||||
|   local name="" | ||||
|   local edition="" | ||||
| 
 | ||||
|   case "${id,,}" in | ||||
|     "win11${PLATFORM,,}" ) | ||||
|       edition="Professional" | ||||
|       name="Windows 11 Pro" | ||||
|       url="https://go.microsoft.com/fwlink?linkid=2156292" | ||||
|       ;; | ||||
|     "win10${PLATFORM,,}" ) | ||||
|       edition="Professional" | ||||
|       name="Windows 10 Pro" | ||||
|       url="https://go.microsoft.com/fwlink/?LinkId=841361" | ||||
|       ;; | ||||
|     "win11${PLATFORM,,}-enterprise" | "win11${PLATFORM,,}-enterprise-eval") | ||||
|       edition="Enterprise" | ||||
|       name="Windows 11 Enterprise" | ||||
|       url="https://go.microsoft.com/fwlink?linkid=2156292" | ||||
|       ;; | ||||
|     "win10${PLATFORM,,}-enterprise" | "win10${PLATFORM,,}-enterprise-eval" ) | ||||
|       edition="Enterprise" | ||||
|       name="Windows 10 Enterprise" | ||||
|       url="https://go.microsoft.com/fwlink/?LinkId=841361" | ||||
|       ;; | ||||
|   esac | ||||
| 
 | ||||
|   case "${ret,,}" in | ||||
|     "url" ) echo "$url" ;; | ||||
|     "name" ) echo "$name" ;; | ||||
|     "edition" ) echo "$edition" ;; | ||||
|     *) echo "";; | ||||
|   esac | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kroese
						Kroese