fix(forge): locales with dash on non-mac

pull/2331/head
Elian Doran 2025-06-15 21:27:53 +07:00
parent 8d868b77d0
commit 04794c38d8
No known key found for this signature in database
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) {