|
@@ -143,7 +143,12 @@ def task_close_game():
|
|
|
|
|
|
def task_start_game():
|
|
|
isSuccess = False
|
|
|
- subprocess.Popen(R'C:\Program Files\Netease\MuMu Player 12\shell\MuMuPlayer.exe')
|
|
|
+ path1 = R'C:\\Program Files\\Netease\\MuMuPlayer-12.0\\shell\\MuMuPlayer.exe'
|
|
|
+ path2 = R'C:\Program Files\Netease\MuMu Player 12\shell\MuMuPlayer.exe'
|
|
|
+ if os.path.exists(path1):
|
|
|
+ subprocess.Popen(path1)
|
|
|
+ elif os.path.exists(path2):
|
|
|
+ subprocess.Popen(path2)
|
|
|
if waitClickImg_withBool(gameStart_img.ico, 100, 20) == False:
|
|
|
return False
|
|
|
waitFindImg_withBool(gameStart_img.gameIn, 100, 10)
|