🎨 Reduce the size of desktop applications https://github.com/siyuan-note/siyuan/pull/16866

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-19 08:27:21 +08:00
parent a2da2e0a1d
commit c965345fb8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -29,7 +29,7 @@ async function removeLanguagePacks(appOutDir, packager, platform) {
);
fileExtension = ".lproj";
isDirectory = true;
} else if (platform === "win32") {
} else if (platform === "win32" || platform === "linux") {
resourcePath = path.join(appOutDir, "locales");
fileExtension = ".pak";
isDirectory = false;