From 4393a4e48e398b01ac912d25b0fc157ca735910e Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 28 Nov 2023 07:44:26 +0100 Subject: [PATCH] fix --- resources/scripts/github-actions/build-windows.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/scripts/github-actions/build-windows.ps1 b/resources/scripts/github-actions/build-windows.ps1 index a7db468af..49a9792f3 100755 --- a/resources/scripts/github-actions/build-windows.ps1 +++ b/resources/scripts/github-actions/build-windows.ps1 @@ -2,7 +2,13 @@ $os = $args[0] $use_webengine = $args[1] $use_qt5 = $args[2] -$not_use_webengine = "OFF" if use_webengine == "ON" else "ON" + +if ($use_webengine -eq "ON") { + $not_use_webengine = "OFF" +} +else { + $not_use_webengine = "ON" +} echo "We are building for MS Windows." echo "OS: $os; Not lite: $use_webengine; Qt5: $use_qt5"