mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-06 17:05:54 +00:00
修复通过okww启动游戏可能崩溃或者启动不了的问题
关闭游戏静音选项时候, 重新打开游戏声音
This commit is contained in:
parent
3438771084
commit
3abccc64ef
@ -1,4 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from ok.util.path import get_path_in_package
|
from ok.util.path import get_path_in_package
|
||||||
from src.task.AutoCombatTask import AutoCombatTask
|
from src.task.AutoCombatTask import AutoCombatTask
|
||||||
@ -13,7 +14,8 @@ version = "v5.0.11"
|
|||||||
|
|
||||||
|
|
||||||
def calculate_pc_exe_path(running_path):
|
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 = {
|
config = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user