Fixed bug where auto-install of xmrig fails on Linux.
This commit is contained in:
1 parent
4f6e736ddc
commit
ab417b09ec
1 file changed
+3
-4
+3
-4
@@ -281,12 +281,11 @@ class MoneroMiner:
|
|||||||
# Get wallet address from user
|
# Get wallet address from user
|
||||||
wallet_address = self.prompt_wallet_address()
|
wallet_address = self.prompt_wallet_address()
|
||||||
|
|
||||||
# Determine xmrig path
|
# Determine xmrig path - use ./xmrig for both macOS and Linux
|
||||||
xmrig_path = os.path.join(self.script_dir, 'xmrig')
|
if os_type in ['macos', 'linux']:
|
||||||
if is_mac:
|
|
||||||
miner_executable = "./xmrig"
|
miner_executable = "./xmrig"
|
||||||
else:
|
else:
|
||||||
miner_executable = "xmrig"
|
miner_executable = "xmrig.exe" # Windows
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
"wallet_address": wallet_address,
|
"wallet_address": wallet_address,
|
||||||
|
|||||||
Reference in new issue
Block a user