mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Init variables
This commit is contained in:
parent
6566d249fc
commit
307d468460
1 changed files with 3 additions and 9 deletions
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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue