Skip to content

Commit

Permalink
setup all version
Browse files Browse the repository at this point in the history
  • Loading branch information
MisileLab committed Nov 20, 2023
1 parent d94c998 commit aa77d66
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions projects/bdsxs/patches/all/0004-repair-bdsx.sh.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From ab353b56256028678bf6888a4e71090b375cd3f1 Mon Sep 17 00:00:00 2001
From: MisileLab <[email protected]>
Date: Mon, 20 Nov 2023 13:21:26 +0900
Subject: [PATCH] repair bdsx.sh

Signed-off-by: MisileLab <[email protected]>
---
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

0 comments on commit aa77d66

Please sign in to comment.