mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Test for Windows and macOS before calculating available RAM
Prevents throwing a syntax error when launching KolibriOS.
This commit is contained in:
		
							parent
							
								
									2d271e3176
								
							
						
					
					
						commit
						6694a3af5f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -328,8 +328,8 @@ function vm_boot() { | ||||||
|   fi |   fi | ||||||
|   echo ", ${RAM_VM} RAM" |   echo ", ${RAM_VM} RAM" | ||||||
| 
 | 
 | ||||||
|   if [ "${RAM_VM//G/}" -lt 4 ]; then |   if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then | ||||||
|     if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then |     if [ "${RAM_VM//G/}" -lt 4 ]; then | ||||||
|         echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM" |         echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM" | ||||||
|         exit 1 |         exit 1 | ||||||
|     fi |     fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue