mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-22 11:32:15 +00:00
fix: correct command line argument for BlueStacks 5 instance
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import ctypes
|
import ctypes
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
@@ -12,7 +13,6 @@ from module.device.platform.emulator_windows import Emulator, EmulatorInstance,
|
|||||||
from module.device.platform.platform_base import PlatformBase
|
from module.device.platform.platform_base import PlatformBase
|
||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
class EmulatorUnknown(Exception):
|
class EmulatorUnknown(Exception):
|
||||||
pass
|
pass
|
||||||
@@ -99,7 +99,7 @@ class PlatformWindows(PlatformBase, EmulatorManager):
|
|||||||
# Nox.exe -clone:Nox_1
|
# Nox.exe -clone:Nox_1
|
||||||
self.execute(f'"{exe}" -clone:{instance.name}')
|
self.execute(f'"{exe}" -clone:{instance.name}')
|
||||||
elif instance == Emulator.BlueStacks5:
|
elif instance == Emulator.BlueStacks5:
|
||||||
# HD-Player.exe -instance Pie64
|
# HD-Player.exe --instance Pie64
|
||||||
self.execute(f'"{exe}" --instance {instance.name}')
|
self.execute(f'"{exe}" --instance {instance.name}')
|
||||||
elif instance == Emulator.BlueStacks4:
|
elif instance == Emulator.BlueStacks4:
|
||||||
# BlueStacks\Client\Bluestacks.exe -vmname Android_1
|
# BlueStacks\Client\Bluestacks.exe -vmname Android_1
|
||||||
|
|||||||
Reference in New Issue
Block a user