An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Bundle nsProcess for Windows installer https://github.com/siyuan-note/siyuan/issues/19960
Daniel211803a0e2c5
diff --git a/.gitignore b/.gitignoreindex 622285b7d8..8844736075 100644--- a/.gitignore+++ b/.gitignore@@ -2,6 +2,7 @@*.exe!app/elevator/elevator-*.exe*.dll+!app/nsis-resources/x86-unicode/nsProcess.dll*.so*.dylib*.aardiff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdindex e0d7a4c7f0..9fb9ffe115 100644--- a/THIRD_PARTY_NOTICES.md+++ b/THIRD_PARTY_NOTICES.md@@ -307,10 +307,30 @@ The following inventory is the union generated by `go list -deps -json ./...` fo| `howett.net/plist` | v1.0.2-0.20250314012144-ee69052608d9 | BSD-3-Clause | [source](https://pkg.go.dev/howett.net/[email protected]) || `modernc.org/fileutil` | v1.4.0 | BSD-3-Clause | [source](https://pkg.go.dev/modernc.org/[email protected]) |+## Windows installer plugins++| Component | Version | License | Source | Distribution |+|---|---|---|---|---|+| nsProcess | 1.6.5 | Zlib | [upstream](https://github.com/oclero/nsProcess) | Unicode process detection and termination in the Windows NSIS installer |+## License texts and attribution noticesThe following texts are reproduced from the exact dependency versions used to generate this inventory. Identical license families may appear more than once because copyright statements and additional terms can differ by project.+### nsProcess 1.6.5 - Zlib License++```text+Copyright (c) 2021 Shengalts Aleksander++This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.++Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:++1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.+2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.+3. This notice may not be removed or altered from any source distribution.+```+### Go standard library and runtime```textdiff --git a/app/electron-builder-arm64.yml b/app/electron-builder-arm64.ymlindex 6685209c7b..0cf419e938 100644--- a/app/electron-builder-arm64.yml+++ b/app/electron-builder-arm64.yml@@ -9,6 +9,7 @@ extraMetadata:main: "electron/main.js"directories:output: "build"+ buildResources: "nsis-resources"files:- "electron"afterPack: "./scripts/afterPack.js"diff --git a/app/electron-builder.yml b/app/electron-builder.ymlindex 7d084fb1bb..89d08d61e1 100644--- a/app/electron-builder.yml+++ b/app/electron-builder.yml@@ -9,6 +9,7 @@ extraMetadata:main: "electron/main.js"directories:output: "build"+ buildResources: "nsis-resources"files:- "electron"afterPack: "./scripts/afterPack.js"diff --git a/app/nsis-resources/README.md b/app/nsis-resources/README.mdnew file mode 100644index 0000000000..e253ab3358--- /dev/null+++ b/app/nsis-resources/README.md@@ -0,0 +1,5 @@+# NSIS process plugin++`x86-unicode/nsProcess.dll` is `nsProcess_unicode.dll` from [oclero/nsProcess v1.6.5](https://github.com/oclero/nsProcess/releases/tag/v1.6.5), renamed for the `nsProcess::` calls in `app/nsis/installer.nsh`.++SHA-256: `AF20C5137876A840673946AB3BBB9B97B99771528D40954383E105A77ACA3E0C`.diff --git a/app/nsis-resources/x86-unicode/nsProcess.dll b/app/nsis-resources/x86-unicode/nsProcess.dllnew file mode 100644index 0000000000..8d112864d7Binary files /dev/null and b/app/nsis-resources/x86-unicode/nsProcess.dll differ