feat(forge): English locale on Linux

This commit is contained in:
Elian Doran 2025-06-15 21:16:02 +03:00
parent 3435f20baa
commit 8d868b77d0
No known key found for this signature in database

View File

@ -178,7 +178,7 @@ module.exports = {
}
let localeName = path.basename(file, extension);
if (localeName === "en-US" && process.platform === "win32") {
if (localeName === "en-US" && !isMac) {
// If the locale is "en-US" on Windows, we treat it as "en".
// This is because the Windows version of Electron uses "en-US.pak" instead of "en.pak".
localeName = "en";