Skip to content

Commit

Permalink
fix: Web GUI before install (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jan 15, 2024
1 parent 1a08bce commit cabf74a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ echo "❯ For support visit https://github.com/dockur/windows"
export DISPLAY=web
export BOOT_MODE=windows

ln -sfn /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null

cd /run

. reset.sh # Initialize system
Expand All @@ -20,10 +23,6 @@ cd /run

trap - ERR

if [[ "${DISPLAY,,}" == "web" ]]; then
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
fi

mkdir -p /tmp/emulated_tpm
swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2

Expand Down

0 comments on commit cabf74a

Please sign in to comment.