diff --git a/src/install.sh b/src/install.sh index 3170833..fb5e15a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -120,6 +120,7 @@ finishInstall() { rm -f "$STORAGE/windows.old" rm -f "$STORAGE/windows.vga" + rm -f "$STORAGE/windows.args" rm -f "$STORAGE/windows.base" rm -f "$STORAGE/windows.boot" rm -f "$STORAGE/windows.mode" @@ -965,6 +966,12 @@ bootWindows() { rm -rf "$TMP" + if [ -s "$STORAGE/windows.args" ] && [ -f "$STORAGE/windows.args" ]; then + local args="" + args=$(<"$STORAGE/windows.args") + ARGUMENTS="$args ${ARGUMENTS:-}" + fi + if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then [ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type") fi