From 2741dfd3a22a531e7c2ce4f2a4d98d9f6fd2cc9a Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Thu, 8 Aug 2024 13:53:21 +0200 Subject: [PATCH] Add manual option to allow using an existing Windows installation Signed-off-by: Felix Bartels --- README.md | 1 + installer.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index ec1fdf4..12c9dde 100644 --- a/README.md +++ b/README.md @@ -348,6 +348,7 @@ RDP_IP="" # - 'docker' # - 'podman' # - 'libvirt' +# - 'manual' WAFLAVOR="docker" # [DISPLAY SCALING FACTOR] diff --git a/installer.sh b/installer.sh index 83f6932..9fea1d6 100755 --- a/installer.sh +++ b/installer.sh @@ -1493,6 +1493,9 @@ function waInstall() { # Check if the Windows VM is powered on. waCheckVMRunning + elif [ "$WAFLAVOR" = "manual" ]; then + # TODO do some checks for an existing windows vm + echo "Using existing vm" else # Display the error type. echo -e "${ERROR_TEXT}ERROR:${CLEAR_TEXT} ${BOLD_TEXT}INVALID WINAPPS BACKEND.${CLEAR_TEXT}"