AFFiNE Desktop combines the shared web application, native modules, and the Electron package. The current source boundaries are:
packages/frontend/apps/electron: main, helper, preload, packaging, and platform integrations;packages/frontend/apps/electron-renderer: renderer entry point;packages/frontend/native: native bindings used by the desktop application.Complete the root web prerequisites and native build, then follow the current Electron package README for development. Installer creation, signing, notarization, and release workflows are platform-sensitive; use the current desktop build guide and CI workflow rather than copying an old command sequence.