mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-27 03:15:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
| set -Eeuo pipefail
 | |
| 
 | |
| APP="Windows"
 | |
| export BOOT_MODE=windows
 | |
| SUPPORT="https://github.com/dockur/windows"
 | |
| 
 | |
| cd /run
 | |
| 
 | |
| . reset.sh      # Initialize system
 | |
| . install.sh    # Get bootdisk
 | |
| . disk.sh       # Initialize disks
 | |
| . display.sh    # Initialize graphics
 | |
| . network.sh    # Initialize network
 | |
| . boot.sh       # Configure boot
 | |
| . proc.sh       # Initialize processor
 | |
| . config.sh     # Configure arguments
 | |
| 
 | |
| trap - ERR
 | |
| 
 | |
| info "Booting $APP using $VERS..."
 | |
| 
 | |
| [[ "$DEBUG" == [Yy1]* ]] && set -x
 | |
| exec qemu-system-x86_64 ${ARGS:+ $ARGS}
 | 
