mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🚸 修正hint
This commit is contained in:
@@ -76,7 +76,7 @@ pub fn call_yae_dll(
|
||||
is_msix: bool,
|
||||
) -> Result<(), String> {
|
||||
let mut dll_path = app_handle.path().app_config_dir().unwrap().join("YaeAchievementLib.dll");
|
||||
if (is_msix) {
|
||||
if is_msix {
|
||||
dll_path = app_handle.path().document_dir().unwrap().join("TeyvatGuide\\YaeAchievementLib.dll");
|
||||
}
|
||||
dbg!(&dll_path);
|
||||
|
||||
@@ -146,7 +146,7 @@ async function confirmCGD(): Promise<void> {
|
||||
const oriEmpty = gameDir.value === "未设置";
|
||||
const editCheck = await showDialog.check(
|
||||
oriEmpty ? "确认设置游戏目录?" : "确认修改游戏目录?",
|
||||
oriEmpty ? "请选择启动器所在目录" : `当前:${gameDir.value}`,
|
||||
oriEmpty ? "请选择 Yuanshen.exe 所在目录" : `当前:${gameDir.value}`,
|
||||
);
|
||||
if (!editCheck) {
|
||||
showSnackbar.cancel(oriEmpty ? "已取消设置" : "已取消修改");
|
||||
|
||||
Reference in New Issue
Block a user