2024-01-14 13:49:42 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
|
2024-01-20 16:03:59 +00:00
|
|
|
APP="Windows"
|
2024-01-14 14:19:58 +00:00
|
|
|
export BOOT_MODE=windows
|
2024-01-20 16:03:59 +00:00
|
|
|
SUPPORT="https://github.com/dockur/windows"
|
2024-01-14 14:19:58 +00:00
|
|
|
|
2024-01-14 13:49:42 +00:00
|
|
|
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
|
|
|
|
|
2024-01-20 16:03:59 +00:00
|
|
|
info "Booting $APP using $VERS..."
|
2024-01-14 13:49:42 +00:00
|
|
|
|
|
|
|
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
|
|
|
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|