generated from MisileLab/Base-repository
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|