diff --git a/projects/bdsxs/patches/all/0004-repair-bdsx.sh.patch b/projects/bdsxs/patches/all/0004-repair-bdsx.sh.patch new file mode 100644 index 000000000..8c5bc6378 --- /dev/null +++ b/projects/bdsxs/patches/all/0004-repair-bdsx.sh.patch @@ -0,0 +1,40 @@ +From ab353b56256028678bf6888a4e71090b375cd3f1 Mon Sep 17 00:00:00 2001 +From: MisileLab +Date: Mon, 20 Nov 2023 13:21:26 +0900 +Subject: [PATCH] repair bdsx.sh + +Signed-off-by: MisileLab +--- + allowlist.json | 1 + + bdsx.sh | 6 +++--- + 2 files changed, 4 insertions(+), 3 deletions(-) + create mode 100644 allowlist.json + +diff --git a/allowlist.json b/allowlist.json +new file mode 100644 +index 00000000..fe51488c +--- /dev/null ++++ b/allowlist.json +@@ -0,0 +1 @@ ++[] +diff --git a/bdsx.sh b/bdsx.sh +index dffd053c..fb133b43 100755 +--- a/bdsx.sh ++++ b/bdsx.sh +@@ -4,10 +4,10 @@ SCRIPT=$(readlink -f "$0") + cd $(dirname "$SCRIPT") + + # check wine +-if [ -x "$(command -v wine)" ]; then +- WINE=wine +-elif [ -x "$(command -v wine64)" ]; then ++if [ -x "$(command -v wine64)" ]; then + WINE=wine64 ++elif [ -x "$(command -v wine)" ]; then ++ WINE=wine + else + echo "try a flatpak wine" + WINE="flatpak run org.winehq.Wine" +-- +2.42.1 +