From c965345fb8c49f33ba31ad875d3ea119853baeb5 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 19 Jan 2026 08:27:21 +0800 Subject: [PATCH] :art: Reduce the size of desktop applications https://github.com/siyuan-note/siyuan/pull/16866 Signed-off-by: Daniel <845765@qq.com> --- app/scripts/afterPack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/afterPack.js b/app/scripts/afterPack.js index 3995afe0c..5c82ddda1 100644 --- a/app/scripts/afterPack.js +++ b/app/scripts/afterPack.js @@ -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;