mirror of
https://github.com/dockur/windows.git
synced 2026-01-25 12:23:13 +00:00
feat: Display progress via web (#61)
This commit is contained in:
12
src/entry.sh
12
src/entry.sh
@@ -1,11 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
echo "❯ Starting Windows for Docker v$(</run/version)..."
|
||||
echo "❯ For support visit https://github.com/dockur/windows"
|
||||
echo
|
||||
|
||||
APP="Windows"
|
||||
export BOOT_MODE=windows
|
||||
SUPPORT="https://github.com/dockur/windows"
|
||||
|
||||
cd /run
|
||||
|
||||
@@ -20,11 +18,7 @@ cd /run
|
||||
|
||||
trap - ERR
|
||||
|
||||
if [[ "${DISPLAY,,}" == "web" ]]; then
|
||||
nginx -e stderr
|
||||
fi
|
||||
|
||||
echo && info "Booting Windows using $VERS..."
|
||||
info "Booting $APP using $VERS..."
|
||||
|
||||
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
||||
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
||||
|
||||
Reference in New Issue
Block a user