Skip to content

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

:art: Exclude local icon packages from desktop builds

Daniel9a2a9d06c2e9
diff --git a/app/electron-builder-arm64.yml b/app/electron-builder-arm64.yml
index 4c9f6f5ad2..6685209c7b 100644
--- a/app/electron-builder-arm64.yml
+++ b/app/electron-builder-arm64.yml
@@ -61,7 +61,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"
diff --git a/app/electron-builder-darwin-arm64.yml b/app/electron-builder-darwin-arm64.yml
index 60b26d5fc0..fc3c77b573 100644
--- a/app/electron-builder-darwin-arm64.yml
+++ b/app/electron-builder-darwin-arm64.yml
@@ -56,7 +56,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"
diff --git a/app/electron-builder-darwin.yml b/app/electron-builder-darwin.yml
index c6686375a0..657a36b343 100644
--- a/app/electron-builder-darwin.yml
+++ b/app/electron-builder-darwin.yml
@@ -56,7 +56,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"
diff --git a/app/electron-builder-linux-arm64.yml b/app/electron-builder-linux-arm64.yml
index 266f1c3ef0..0c67562b32 100644
--- a/app/electron-builder-linux-arm64.yml
+++ b/app/electron-builder-linux-arm64.yml
@@ -65,7 +65,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"
diff --git a/app/electron-builder-linux.yml b/app/electron-builder-linux.yml
index 77b4236844..3c3a6faae0 100644
--- a/app/electron-builder-linux.yml
+++ b/app/electron-builder-linux.yml
@@ -62,7 +62,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"
diff --git a/app/electron-builder.yml b/app/electron-builder.yml
index 5b1e5f2e0a..7d084fb1bb 100644
--- a/app/electron-builder.yml
+++ b/app/electron-builder.yml
@@ -60,7 +60,9 @@ extraResources:
filter: "!**/{.DS_Store}"
- from: "appearance/icons"
to: "appearance/icons"
- filter: "!**/{.DS_Store}"
+ filter:
+ - "index.html"
+ - "litheness/**/*"
- from: "appearance/langs"
to: "appearance/langs"
filter: "!**/{.DS_Store}"