Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Danielc965345fb8c4
diff --git a/app/scripts/afterPack.js b/app/scripts/afterPack.js
index 3995afe0c1..5c82ddda17 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;