Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
1052a4bffb | |||
2fd8730cdd | |||
bbc52af184 | |||
38ed348865 | |||
29548310c5 |
@ -15,7 +15,9 @@
|
||||
## 使用说明
|
||||
|
||||
1. 下载工具后解压 - 下载地址: [Github](https://github.com/biuuu/star-rail-warp-export/releases/latest/download/StarRailWarpExport.zip) / [蓝奏云](https://wwvt.lanzoum.com/b022mikwh) 密码:f1iy
|
||||
2. 打开游戏的跃迁历史记录
|
||||
2. 打开游戏的跃迁详情页面
|
||||
|
||||

|
||||
|
||||
3. 点击工具的“加载数据”按钮
|
||||
|
||||
|
@ -17,7 +17,9 @@ If you feel that the existing translation is inappropriate, you can send a pull
|
||||
## Usage
|
||||
|
||||
1. Unzip after downloading the tool - [Download](https://github.com/biuuu/star-rail-warp-export/releases/latest/download/StarRailWarpExport.zip)
|
||||
2. Open the warp history of the game
|
||||
2. Open the warp details page of the game
|
||||
|
||||

|
||||
|
||||
3. Click the tool's "Load data" button
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 55 KiB |
BIN
docs/preview.png
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 46 KiB |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "star-rail-warp-export",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.14",
|
||||
"main": "./dist/electron/main/main.js",
|
||||
"author": "biuuu <https://github.com/biuuu>",
|
||||
"license": "MIT",
|
||||
|
@ -22,7 +22,7 @@
|
||||
"ui.data.sum": "已累计",
|
||||
"ui.data.no5star": "抽未出5星",
|
||||
"ui.data.character": "角色",
|
||||
"ui.data.weapon": "光錐",
|
||||
"ui.data.weapon": "光锥",
|
||||
"ui.data.star5": "5星",
|
||||
"ui.data.star4": "4星",
|
||||
"ui.data.star3": "3星",
|
||||
@ -30,9 +30,9 @@
|
||||
"ui.data.average": "5星平均出货次数为",
|
||||
"ui.data.chara5": "5星角色",
|
||||
"ui.data.chara4": "4星角色",
|
||||
"ui.data.weapon5": "5星光錐",
|
||||
"ui.data.weapon4": "4星光錐",
|
||||
"ui.data.weapon3": "3星光錐",
|
||||
"ui.data.weapon5": "5星光锥",
|
||||
"ui.data.weapon4": "4星光锥",
|
||||
"ui.data.weapon3": "3星光锥",
|
||||
"ui.setting.title": "设置",
|
||||
"ui.setting.language": "语言",
|
||||
"ui.setting.languageHint": "缺少翻译时,会默认显示简体中文",
|
||||
|
@ -4,7 +4,6 @@ const { app, ipcMain, dialog } = require('electron')
|
||||
const fs = require('fs-extra')
|
||||
const path = require('path')
|
||||
const i18n = require('./i18n')
|
||||
const cloneDeep = require('lodash-es/cloneDeep').default
|
||||
|
||||
function pad(num) {
|
||||
return `${num}`.padStart(2, "0");
|
||||
@ -87,7 +86,7 @@ const start = async () => {
|
||||
arr.push(total)
|
||||
arr.push(pity)
|
||||
temp.push(arr)
|
||||
if (log.rank_type === 5) {
|
||||
if (log.rank_type === '5') {
|
||||
pity = 0
|
||||
}
|
||||
// if (key === '301') {
|
||||
|
@ -83,7 +83,7 @@ const detectGameLocale = async (userPath) => {
|
||||
const arr = ['/miHoYo/崩坏:星穹铁道/', '/Cognosphere/Star Rail/']
|
||||
arr.forEach(str => {
|
||||
try {
|
||||
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player-prev.log')
|
||||
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log')
|
||||
fs.accessSync(pathname, fs.constants.F_OK)
|
||||
list.push(pathname)
|
||||
} catch (e) {}
|
||||
|