Files
Synapse/resources/electron-builder.yml
Dasemu b339cbb3b7 Rename product to Synapse; add Gitea CI, VPS deploy templates, RPM build fixes
Rebrands user-facing product identity from Logseq to Synapse (package
metadata, Electron appId/protocol scheme, Android/iOS display names, HTML
titles, and the English UI dictionary), authored by Darío Sevilla
<dario@dariosevilla.es>. Internal Clojure namespaces, :logseq.class/*
and :logseq.property/* DB schema idents, and deps.edn's upstream git
dependency coordinates are intentionally left untouched -- those are
either persisted data in existing graphs or point at real upstream repos,
and renaming them has no user-visible benefit.

Also:
- .gitea/workflows/build.yml: Linux (AppImage/deb/rpm), Windows (nsis),
  and Android (debug APK) build jobs.
- deploy/: systemd unit + Caddyfile templates for a self-hosted VPS
  (daemon on loopback, Caddy reverse-proxies /v1/*, /mcp, /healthz and
  serves the static web client with TLS).
- gulpfile.js / prepare-desktop-runtime-js.mjs: LOGSEQ_SKIP_CLI_BUNDLE
  skips the cli/ OCaml package (no toolchain in this environment) instead
  of failing the build; LOGSEQ_ELECTRON_BUILDER_ARGS lets CI override the
  packaged Linux targets independently of the local default.
- resources/electron-builder.yml: drop the extraResources entry for a
  SKILL.md that doesn't exist in this fork, and the author.email fix
  needed for the rpm/deb targets' Packager/Maintainer metadata.
2026-08-27 12:03:03 +02:00

82 lines
1.9 KiB
YAML

appId: es.dariosevilla.synapse
electronUpdaterCompatibility: ">=2.16"
directories:
buildResources: .
output: dist
files:
- "**/*"
- "!dist/**"
- "!mobile/**"
- "!android/**"
- "!ios/**"
- "!js/publishing/*.map"
- "!js/publishing/manifest.edn"
- "!js/publishing/module-loader.*"
- "!js/sqlite3.wasm"
- "!css/fonts/tabler-icons.eot"
- "!css/fonts/tabler-icons.ttf"
- "!css/fonts/tabler-icons.woff"
- "!**/node_modules/**/*.map"
- "!**/node_modules/**/*.d.ts"
- "!**/node_modules/**/*.d.cts"
- "!**/node_modules/**/*.d.mts"
- "!**/node_modules/**/*.{ts,cts,mts}"
- "!**/node_modules/**/*.{c,cc,cpp,h,hpp,gyp}"
- "!**/node_modules/**/*.test-d.ts"
- "!**/node_modules/**/*.test-d.cts"
- "!**/node_modules/**/*.test-d.mts"
- "!**/node_modules/**/*.{test,spec}.{js,cjs,mjs,ts,cts,mts}"
- "!**/node_modules/**/*{example,benchmark,bench,tests,runkit}*.{js,cjs,mjs,ts,cts,mts}"
- "!**/node_modules/**/*.{md,markdown}"
- "!**/node_modules/**/{test,tests,__tests__,powered-test,example,examples,benchmark,benchmarks}/**"
- "!**/node_modules/**/{tsconfig.json,eslint.config.js,.editorconfig}"
toolsets:
appimage: "1.0.2"
protocols:
- name: synapse
schemes:
- synapse
extraResources:
- from: ../sidecar
to: sidecar
mac:
artifactName: ${productName}-darwin-${arch}-${version}.${ext}
icon: icons/logseq_big_sur.icns
target:
- dmg
- zip
hardenedRuntime: true
entitlements: entitlements.plist
entitlementsInherit: entitlements.plist
dmg:
format: ULFO
win:
icon: icons/logseq.ico
target:
- nsis
- zip
nsis:
artifactName: ${productName}-win-${arch}-${version}-nsis.${ext}
oneClick: false
allowToChangeInstallationDirectory: true
installerIcon: icons/logseq.ico
uninstallerIcon: icons/logseq.ico
linux:
artifactName: ${productName}-linux-${arch}-${version}.${ext}
icon: icons/logseq.png
category: Office
target:
- rpm
mimeTypes:
- x-scheme-handler/synapse