Skip to content

Commit 812e938

Browse files
committed
detect amd64 runner like wow64 runner using directory name
1 parent ab2fbb2 commit 812e938

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

flatpak/io.github.fastrizwaan.WineCharm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ modules:
175175
- pip3 install --no-deps --no-build-isolation --ignore-installed --prefix=${FLATPAK_DEST} .
176176
sources:
177177
- type: git
178-
tag: 0.99.4
179-
commit: b2bb9b05b575c82502ad9a5b755150b7abfa590b
178+
#tag: 0.99.4
179+
commit: ab2fbb294c2a940891bf9d19dcd07ee9bbed9eb0
180180
url: https://github.com/fastrizwaan/WineCharm.git
181181

182182

src/winecharm/runner_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ def on_set_default_runner_response(self, dialog, response_id, runner_dropdown, a
430430
if (runner_path / "bin/wine64").exists():
431431
print("win64 detected")
432432
runner_arch = "win64"
433-
elif (runner_path / "bin/wine").exists() and "wow64" in str(runner_path):
434-
print("wow64 detected")
433+
elif (runner_path / "bin/wine").exists() and ("wow64" in str(runner_path) or "amd64" in str(runner_path)):
434+
print("wow64/amd64 detected")
435435
runner_arch = "win64"
436436
elif (runner_path / "bin/wine").exists():
437437
print("win32 detected")

0 commit comments

Comments
 (0)