mirror of
https://github.com/winapps-org/winapps.git
synced 2026-11-29 10:55:45 -05:00
feat: pass arguments in wrapper scripts
Signed-off-by: cloudy <37777261+uwuclxdy@users.noreply.github.com>
This commit is contained in:
@@ -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="\
|
||||
|
||||
Reference in New Issue
Block a user