diff --git a/src/i18n/English.json b/src/i18n/English.json index b6959b4..4976f62 100644 --- a/src/i18n/English.json +++ b/src/i18n/English.json @@ -98,7 +98,7 @@ "excel.customFont": "Arial", "excel.filePrefix": "Star Rail Warp logger", "excel.fileType": "Excel file", - "uigf.fileType": "Uniformed Interchangeable GachaLog Format v4.0", + "uigf.fileType": "Uniformed Interchangeable GachaLog Format v4.0, v4.1", "ui.extra.cacheClean": "1. Confirm whether the warp history in the game has been opened, and if the error \"User authentication expired\" still appears, try the following steps \n2. Close the game window of Star Rail \n3. Click the \"Open Web Cache Folder\" button above to open the \"Cache\" folder \n4. Delete the \"Cache_Data\" folder \n5. Start the Star Rail game and open the warp history page in the game \n6. Close this dialog and click the \"Update Data\" button", "ui.extra.findCacheFolder": "If the \"Open cache folder\" button does not respond, you can manually find the game's web cache folder. The directory is \"Your game installation path/Star Rail/Games/StarRail_Data/webCaches/Cache/\"", "ui.extra.urlCopied": "URL Copied", diff --git a/src/i18n/日本語.json b/src/i18n/日本語.json index c177341..9cdf711 100644 --- a/src/i18n/日本語.json +++ b/src/i18n/日本語.json @@ -98,7 +98,7 @@ "excel.customFont": "メイリオ", "excel.filePrefix": "スターレイル跳躍ログ", "excel.fileType": "Excelファイル", - "uigf.fileType":"統一交換可能ガチャ記録フォーマット標準(UIGF) v4.0", + "uigf.fileType":"統一交換可能ガチャ記録フォーマット標準(UIGF) v4.0, v4.1", "ui.extra.cacheClean": "1. ゲーム内の跳躍履歴を開いたことを確認し、それでも「Authkeyの有効期限が切れました」エラーが表示される場合は、以下の手順を再度お試しください\n2. スターレイルのゲーム画面を閉じる\n3. 上部の「キャッシュフォルダーを開く」ボタンをクリックして、Cacheフォルダーを開く\n4. Cache_Dataフォルダを削除する\n5. スターレイルを起動し、ゲーム内の跳躍履歴ページを開く\n6. このダイアログボックスを閉じ、「更新データ」ボタンをクリックします", "ui.extra.findCacheFolder": "もし「キャッシュフォルダーを開く」ボタンが反応しない場合、手動でゲームのウェブキャッシュフォルダを見つけることができます。そのディレクトリは、“あなたのゲームのインストールパス/Star Rail/Game/StarRail_Data/webCaches/Cache/”", "ui.extra.urlCopied": "URLがコピーされました", diff --git a/src/i18n/简体中文.json b/src/i18n/简体中文.json index 860f73b..6d7a835 100644 --- a/src/i18n/简体中文.json +++ b/src/i18n/简体中文.json @@ -98,7 +98,7 @@ "excel.customFont": "微软雅黑", "excel.filePrefix": "星穹铁道跃迁记录", "excel.fileType": "Excel文件", - "uigf.fileType":"统一可交换抽卡记录标准 v4.0", + "uigf.fileType":"统一可交换抽卡记录标准 v4.0, v4.1", "ui.extra.cacheClean": "1. 确认是否已经打开游戏内的抽卡历史记录,如果仍然出现“身份认证已过期”的错误,再尝试下面的步骤\n2. 关闭星穹铁道的游戏窗口\n3. 点击上方的“打开缓存文件夹”按钮,打开Cache文件夹\n4. 删除Cache_Data文件夹\n5. 启动星穹铁道游戏,打开游戏内抽卡历史记录页面\n6. 关闭这个对话框,再点击“更新数据”按钮", "ui.extra.findCacheFolder": "如果点“打开缓存文件夹”按钮没有反应,可以手动找到游戏的网页缓存文件夹,目录为“你的游戏安装路径/Star Rail/Game/StarRail_Data/webCaches/Cache/”", "ui.extra.urlCopied": "URL已复制", diff --git a/src/i18n/繁體中文.json b/src/i18n/繁體中文.json index f6ee71c..16b7724 100644 --- a/src/i18n/繁體中文.json +++ b/src/i18n/繁體中文.json @@ -87,7 +87,7 @@ "excel.customFont": "微軟正黑體", "excel.filePrefix": "星穹鐵道躍遷紀錄", "excel.fileType": "Excel 檔案", - "srgf.fileType":"統一可交換抽卡記錄標準 v4.0", + "srgf.fileType":"統一可交換抽卡記錄標準 v4.0, v4.1", "ui.extra.cacheClean": "1. 確認是否已經開啟遊戲內的躍遷歷史紀錄,如果仍然出現「身分驗證已過期」的錯誤,再嘗試下面的步驟\n2. 關閉「崩壞:星穹鐵道」的遊戲視窗\n3. 按一下上方的「開啟快取資料夾」按鈕,開啟「Cache」資料夾\n4. 刪除「Cache_Data」資料夾\n5. 啟動「崩壞:星穹鐵道」遊戲,開啟遊戲內躍遷歷史紀錄頁面\n6. 關閉這個對話方塊,再按下「更新資料」按鈕", "ui.extra.findCacheFolder": "如果按下「開啟快取資料夾」按鈕沒有回應,可以手動找到遊戲的網頁快取資料夾,目錄為「您的遊戲安裝路徑/Star Rail/Games/StarRail_Data/webCaches/Cache/」", "ui.uigf.title": "請選擇要導出的UID" diff --git a/src/main/UIGFJson.js b/src/main/UIGFJson.js index b1ffac4..bb04de7 100644 --- a/src/main/UIGFJson.js +++ b/src/main/UIGFJson.js @@ -27,7 +27,7 @@ const exportUIGF = async (uids) => { export_timestamp: Math.ceil(Date.now() / 1000), export_app: `${name}`, export_app_version: `v${version}`, - version: "v4.0" + version: "v4.1" }, hkrpg: [] } @@ -139,7 +139,7 @@ const importUIGF = async () => { try { const jsonData = fs.readJsonSync(filepath[0]) if('info' in jsonData && 'version' in jsonData.info) { - if (jsonData.info.version !== 'v4.0') { + if (jsonData.info.version !== 'v4.0' && jsonData.info.version !== 'v4.1') { sendMsg('不支持此版本UIGF') console.error('不支持此版本UIGF') return