LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
fix: verify notarized app inside macOS DMG
nash_su48fd970e206a
diff --git a/.github/scripts/verify-macos-release.sh b/.github/scripts/verify-macos-release.shindex cdf3d488..f701cc14 100755--- a/.github/scripts/verify-macos-release.sh+++ b/.github/scripts/verify-macos-release.sh@@ -21,7 +21,13 @@ verify_app() {}verify_app "$app_path"-xcrun stapler validate "$dmg_path"++# Tauri notarizes and staples the app bundle before packaging it into the DMG.+# The DMG is a transport container and does not necessarily carry its own+# stapled ticket, so validate the container itself and then verify the mounted+# app bundle below.+echo "Verifying DMG container integrity: $dmg_path"+hdiutil verify "$dmg_path"mount_point="$(mktemp -d "${TMPDIR:-/tmp}/llm-wiki-dmg.XXXXXX")"mounted=0diff --git a/src/lib/macos-release-verification.test.ts b/src/lib/macos-release-verification.test.tsnew file mode 100644index 00000000..ad2528b8--- /dev/null+++ b/src/lib/macos-release-verification.test.ts@@ -0,0 +1,16 @@+import { readFileSync } from "node:fs"+import { resolve } from "node:path"+import { describe, expect, it } from "vitest"++const script = readFileSync(+ resolve(process.cwd(), ".github/scripts/verify-macos-release.sh"),+ "utf8",+)++describe("macOS release verification", () => {+ it("verifies the DMG container and the notarized app inside it", () => {+ expect(script).toContain('hdiutil verify "$dmg_path"')+ expect(script).toContain('verify_app "$mounted_app"')+ expect(script).not.toContain('stapler validate "$dmg_path"')+ })+})