From 7ea55650e14b71c979259f12c4616ad7e7d2bfd5 Mon Sep 17 00:00:00 2001 From: cloudy <37777261+uwuclxdy@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:24:45 +0200 Subject: [PATCH 1/2] feat: pass arguments in wrapper scripts Signed-off-by: cloudy <37777261+uwuclxdy@users.noreply.github.com> --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 89117f30..9bd75783 100755 --- a/setup.sh +++ b/setup.sh @@ -1331,7 +1331,7 @@ function waConfigureWindows() { # Populate variables. WIN_BASH="\ #!/usr/bin/env bash -${BIN_PATH}/winapps windows" +${BIN_PATH}/winapps windows \"\$@\"" WIN_DESKTOP="\ [Desktop Entry] Name=Windows @@ -1382,7 +1382,7 @@ function waConfigureApp() { # Determine the content of the bash script for the application. APP_BASH="\ #!/usr/bin/env bash -${BIN_PATH}/winapps ${1}" +${BIN_PATH}/winapps ${1} \"\$@\"" # Determine the content of the '.desktop' file for the application. APP_DESKTOP_FILE="\ From e1feb964b31ad328f163fbdb6c37128ff234c7bc Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Mon, 6 Jul 2026 14:17:06 +0200 Subject: [PATCH 2/2] fix setup patch Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> --- packages/winapps/setup.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/winapps/setup.patch b/packages/winapps/setup.patch index 1f1d0576..18c946db 100644 --- a/packages/winapps/setup.patch +++ b/packages/winapps/setup.patch @@ -72,8 +72,8 @@ index 3a871c8..71a8fa0 100755 # Populate variables. WIN_BASH="\ #!/usr/bin/env bash --${BIN_PATH}/winapps windows" -+@out@/bin/winapps windows" +-${BIN_PATH}/winapps windows \"\$@\"" ++@out@/bin/winapps windows \"\$@\"" WIN_DESKTOP="\ [Desktop Entry] Name=Windows @@ -86,8 +86,8 @@ index 3a871c8..71a8fa0 100755 # Determine the content of the bash script for the application. APP_BASH="\ #!/usr/bin/env bash --${BIN_PATH}/winapps ${1}" -+@out@/bin/winapps ${1}" +-${BIN_PATH}/winapps ${1} \"\$@\"" ++@out@/bin/winapps ${1} \"\$@\"" # Determine the content of the '.desktop' file for the application. APP_DESKTOP_FILE="\