mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-22 21:30:22 +08:00
fix: failed to get the correct wrap type
This commit is contained in:
parent
c724727886
commit
3617599d32
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "star-rail-warp-export",
|
||||
"version": "0.0.10",
|
||||
"version": "0.0.11",
|
||||
"main": "./dist/electron/main/main.js",
|
||||
"author": "biuuu <https://github.com/biuuu>",
|
||||
"license": "MIT",
|
||||
|
@ -135,7 +135,7 @@ const detectLocale = (value) => {
|
||||
const locale = value || app.getLocale()
|
||||
let result = 'zh-cn'
|
||||
for (let [key, list] of localeMap) {
|
||||
if (list.includes(locale)) {
|
||||
if (locale === key || list.includes(locale)) {
|
||||
result = key
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user