From b4ef562a599f00596c918de18423d652c00c227b Mon Sep 17 00:00:00 2001 From: boomzero Date: Fri, 2 Oct 2026 19:49:59 +0800 Subject: [PATCH] fix: keep zh_CN.lproj in macOS builds electronLanguages matched locale names literally, so zh-CN kept zh-CN.pak on Windows/Linux but stripped zh_CN.lproj from the macOS bundle. The Mac App Store derives supported languages from .lproj folders and listed twig as English-only. List both spellings. Co-Authored-By: Claude Opus 5.5 --- electron-builder.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electron-builder.yml b/electron-builder.yml index 2755e5c..e1d9978 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -12,7 +12,8 @@ files: - '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}' electronLanguages: - en-US - - zh-CN + - zh-CN # Windows/Linux locales/*.pak + - zh_CN # macOS *.lproj (matched literally; without it zh_CN.lproj is stripped) asarUnpack: - resources/** fileAssociations: