浏览代码

!2 change param2

pcacc 2 周之前
父节点
当前提交
e7e543aede
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dongri_task.py

+ 2 - 2
dongri_task.py

@@ -262,12 +262,12 @@ def task_close_game():
 def task_start_game(type=0):
     isSuccess = True
     path1 = R'C:\\Program Files\\Netease\\MuMu Player 12\\nx_main\\MuMuNxMain.exe'
-    path2 = R'C:\Program Files\Netease\MuMu Player 12\shell\MuMuNxMain.exe'
+    path2 = R'C:\Program Files\Netease\MuMuPlayer-12.0\nx_main\MuMuNxMain.exe'
     param = " -v 0"
     if os.path.exists(path1):
         subprocess.Popen(path1 + param)
     elif os.path.exists(path2):
-        subprocess.Popen(path2)
+        subprocess.Popen(path2 + param)
     waitClickImg_withBool(gameStart_img.not_upgrade, 20, 10)
     if type == 0:
         if waitClickImg_withBool(gameStart_img.ico, 100, 0) == False: