0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-05 08:25:28 +00:00

修复通过okww启动游戏可能崩溃或者启动不了的问题

关闭游戏静音选项时候, 重新打开游戏声音
This commit is contained in:
firedcto@gmail.com 2024-08-13 17:40:23 +08:00
parent 3438771084
commit 3abccc64ef

View File

@ -1,4 +1,5 @@
import os
from pathlib import Path
from ok.util.path import get_path_in_package
from src.task.AutoCombatTask import AutoCombatTask
@ -13,7 +14,8 @@ version = "v5.0.11"
def calculate_pc_exe_path(running_path):
return running_path
game_exe_folder = Path(running_path).parents[3]
return str(game_exe_folder / "Wuthering Waves.exe")
config = {