Skip to content

Commit

Permalink
优化参数,更新缺失的retv解析,适配后端v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuJiewenTT committed May 20, 2024
1 parent fb4d846 commit 7ef3fc2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions src/CBJQ_SS_FrontEnd_tk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ class CBJQ_SS_FrontEnd_tk_Splash:
close_button_framesize = (50, 50)
quitProgram_flag: int = 0

def __init__(self, imgpathinfolist: List[Dict[str, str]], size: Tuple[int, int] = (640, 360),
isRandom: bool = True, autoSkipTime: int = 0, splashWindowKind: str = 'borderless'):
def __init__(self, imgpathinfolist: List[Dict[str, str]], size: Tuple[int, int] = (960, 540),
isRandom: bool = True, autoSkipTime: int = 0, splashWindowKind: str = 'true-borderless'):
idx = 0
if len(imgpathinfolist) <= 0:
self.broken = True
Expand Down Expand Up @@ -762,7 +762,17 @@ def resolveBackendRetv(self, returncode: int) -> str:
elif returncode == 4:
return '目的地的启动器并非符号链接,非本程序创建。'
elif returncode == 5:
return '启动器链接失败。 '
return '启动器链接失败。'
elif returncode == 6:
return '目的地的启动设置文件并非符号链接,非本程序创建。'
elif returncode == 7:
return '切服器未找到此服务器所需的启动配置实际文件。'
elif returncode == 8:
return '启动设置链接失败。'
elif returncode == 9:
return '在未启用国服国际服支持的情景下断开链接失败。'
elif returncode == 10:
return '不存在实际启动器文件。'
return '未查找到解释'

def getResultBonus_pics_success(self, idx: Union[None, int] = None) -> Union[None, PIL.ImageTk.PhotoImage]:
Expand Down
2 changes: 1 addition & 1 deletion src/CBJQ_SS_FrontEnd_tk/programinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
product_name = '尘白禁区切服器'
program_name = 'CBJQ_SS_FrontEnd-tk'
product_version = (1, 1, 0, 0)
program_version = (1, 1, 0, 4)
program_version = (1, 1, 0, 5)
program_version_str: str
program_iconpicture_paths = [
'res/icon1.png',
Expand Down

0 comments on commit 7ef3fc2

Please sign in to comment.