Преглед изворни кода

Merge branch 'master' of http://1.94.225.168:6602/pcacc/yys_auto

pcacc пре 2 недеља
родитељ
комит
1c8ece13bc
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: