From 92b0ba5fbc72b61ff6d12dcb19f438e183356ab0 Mon Sep 17 00:00:00 2001
From: MrKristofere <119357545+MrKristofere@users.noreply.github.com>
Date: Tue, 31 Dec 2024 23:32:18 +0300
Subject: [PATCH] Fixed selection without root in the run.sh (#824)

Fixed an issue where magisk was installed when selecting No in the "Do you want to Root WSA?" question.
---
 scripts/run.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/run.sh b/scripts/run.sh
index 38bac8f..1756c23 100755
--- a/scripts/run.sh
+++ b/scripts/run.sh
@@ -86,6 +86,8 @@ if (YesNoBox '([title]="Root" [text]="Do you want to Root WSA?")'); then
             'kernelsu' "KernelSU" 'off'
     )
     COMMAND_LINE+=(--root-sol "$ROOT_SOL")
+else
+    COMMAND_LINE+=(--root-sol "none")
 fi
 
 if [ "$ROOT_SOL" = "magisk" ]; then