没更新什么

This commit is contained in:
gfdgd xi 2022-06-15 21:56:01 +08:00
parent 22d1f1ab87
commit da0db9b0fb
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,8 @@
"BackApkError": "无法还原安装包\n提示新版UEngine安装后会自动删除安装包备份的Apk在/tmp/uengine-runner/bak.apk电脑重启后就会丢失", "BackApkError": "无法还原安装包\n提示新版UEngine安装后会自动删除安装包备份的Apk在/tmp/uengine-runner/bak.apk电脑重启后就会丢失",
"ChooseApkError": "你没有选择 apk 文件", "ChooseApkError": "你没有选择 apk 文件",
"SaveApkIconError": "本程序不支持保存该 apk 的图标", "SaveApkIconError": "本程序不支持保存该 apk 的图标",
"PathError": "路径不存在,请重试!" "PathError": "路径不存在,请重试!",
"SettingReadError": "读取设置错误!无法打开设置窗口!"
}, },
"Menu": [ "Menu": [
{ {
@ -165,7 +166,8 @@
"BackApkError": "Can't recover the apk\nTips: Newer UEngine will delete the APK installing file when finish install, recover apk is in \"tmp/uengine-runner/bak.apk\", but it will be lose when you restart your computer.", "BackApkError": "Can't recover the apk\nTips: Newer UEngine will delete the APK installing file when finish install, recover apk is in \"tmp/uengine-runner/bak.apk\", but it will be lose when you restart your computer.",
"ChooseApkError": "You don't choose any APK file.", "ChooseApkError": "You don't choose any APK file.",
"SaveApkIconError": "This APK file isn't allow to save the icon file.", "SaveApkIconError": "This APK file isn't allow to save the icon file.",
"PathError": "Path not found, please try again" "PathError": "Path not found, please try again",
"SettingReadError": "Read user setting error! Can't to continue to set!"
}, },
"Menu": [ "Menu": [
{ {

View File

@ -674,7 +674,7 @@ class SettingWindow():
try: try:
data = json.loads(readtxt(get_home() + "/.config/uengine-runner/setting.json")) data = json.loads(readtxt(get_home() + "/.config/uengine-runner/setting.json"))
except: except:
messagebox.showerror(title="错误", message="读取设置错误!无法打开设置窗口!") messagebox.showerror(title="错误", message=langFile[lang]["Main"]["MainWindow"]["Error"]["SettingReadError"])
setting.destroy() setting.destroy()
SettingWindow.saveApkOption = tk.IntVar() SettingWindow.saveApkOption = tk.IntVar()
SettingWindow.saveApkOption.set(int(data["SaveApk"])) SettingWindow.saveApkOption.set(int(data["SaveApk"]))