mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-04-20 23:50:17 +08:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
49c1685e5e | |||
89a0553c59 | |||
3605826953 | |||
75f2f2dd4f |
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "star-rail-warp-export",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.4",
|
||||
"main": "./dist/electron/main/main.js",
|
||||
"author": "biuuu <https://github.com/biuuu>",
|
||||
"homepage": "https://github.com/biuuu/star-rail-warp-export",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "node .electron-vite/dev-runner.js",
|
||||
|
@ -57,7 +57,7 @@ const start = async () => {
|
||||
const workbook = new ExcelJS.Workbook()
|
||||
for (let [key, value] of data.result) {
|
||||
const name = data.typeMap.get(key)
|
||||
const sheet = workbook.addWorksheet(name, {views: [{state: 'frozen', ySplit: 1}]})
|
||||
const sheet = workbook.addWorksheet(name.replace(/[*?:\/\\]/g, ' '), {views: [{state: 'frozen', ySplit: 1}]})
|
||||
let width = [24, 14, 8, 8, 8, 8, 8]
|
||||
if (!data.lang.includes('zh-')) {
|
||||
width = [24, 32, 16, 12, 12, 12, 8]
|
||||
|
@ -1,11 +1,11 @@
|
||||
import * as IconComponents from '@element-plus/icons-vue'
|
||||
|
||||
const weaponTypeNames = new Set([
|
||||
'光锥', '光錐', 'Lichtkegel', 'Light Cone', 'Conos de luz', 'cônes de lumière', '光円錐', '광추', 'Cones de Luz', 'Световые конусы', 'Nón Ánh Sáng'
|
||||
'光锥', '光錐', 'Lichtkegel', 'Light Cone', 'Conos de luz', 'cônes de lumière', '光円錐', '광추', 'Cones de Luz', 'Световые конусы', 'Nón Ánh Sáng', 'Cône de lumière'
|
||||
])
|
||||
|
||||
const characterTypeNames = new Set([
|
||||
'角色', 'Figur', 'Character', 'Personajes', 'Personnages', 'Karakter', 'キャラクター', '캐릭터', 'Personagens', 'Персонажи', 'ตัวละคร', 'Nhân Vật'
|
||||
'角色', 'Figur', 'Character', 'Personajes', 'Personnages', 'Karakter', 'キャラクター', '캐릭터', 'Personagens', 'Персонажи', 'ตัวละคร', 'Nhân Vật', 'Personnage'
|
||||
])
|
||||
|
||||
const isCharacter = (name) => characterTypeNames.has(name)
|
||||
@ -21,4 +21,4 @@ export {
|
||||
isWeapon,
|
||||
isCharacter,
|
||||
IconInstaller,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user