mirror of
https://github.com/zadam/trilium.git
synced 2025-09-29 18:15:39 +08:00
fix(forge): locales with dash on non-mac
This commit is contained in:
parent
8d868b77d0
commit
04794c38d8
1 changed files with 2 additions and 2 deletions
|
@ -149,11 +149,11 @@ module.exports = {
|
|||
.filter(locale => !locale.contentOnly)
|
||||
.map(locale => locale.electronLocale);
|
||||
if (!isMac) {
|
||||
localesToKeep.map(locale => locale.replace("_", "-"))
|
||||
localesToKeep = localesToKeep.map(locale => locale.replace("_", "-"))
|
||||
}
|
||||
|
||||
const keptLocales = new Set();
|
||||
const removedLocales = [];
|
||||
const removedLocales = [];
|
||||
const extension = (isMac ? ".lproj" : ".pak");
|
||||
|
||||
for (const outputPath of packageResult.outputPaths) {
|
||||
|
|
Loading…
Add table
Reference in a new issue