From ab417b09ec23cfcceae272397e5963958fcf3968 Mon Sep 17 00:00:00 2001 From: JustinOros Date: Thu, 20 Nov 2025 15:41:07 -0700 Subject: [PATCH] Fixed bug where auto-install of xmrig fails on Linux. --- miner-monero.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/miner-monero.py b/miner-monero.py index fe1c698..b20979e 100644 --- a/miner-monero.py +++ b/miner-monero.py @@ -281,12 +281,11 @@ class MoneroMiner: # Get wallet address from user wallet_address = self.prompt_wallet_address() - # Determine xmrig path - xmrig_path = os.path.join(self.script_dir, 'xmrig') - if is_mac: + # Determine xmrig path - use ./xmrig for both macOS and Linux + if os_type in ['macos', 'linux']: miner_executable = "./xmrig" else: - miner_executable = "xmrig" + miner_executable = "xmrig.exe" # Windows config = { "wallet_address": wallet_address,