Skip to content

Add Electron desktop runtime alongside Tauri#37

Closed
mrquantumoff wants to merge 25 commits intonextfrom
upstream/electron
Closed

Add Electron desktop runtime alongside Tauri#37
mrquantumoff wants to merge 25 commits intonextfrom
upstream/electron

Conversation

@mrquantumoff
Copy link
Copy Markdown
Collaborator

Summary

  • Adds Electron as a second desktop runtime alongside the existing Tauri shell, with shared frontend/backend abstractions.
  • Introduces the Electron main/preload process, N-API bindings, runtime config generation, and packaging scripts.
  • Refactors desktop command handling, sync/share flows, logging, deep links, updater behavior, and platform normalization to work across both runtimes.
  • Updates release, Flatpak, validation, and MS Store workflows to build and ship the Electron artifacts.
  • Refreshes docs, manifests, and app metadata for the new desktop support path.

Testing

  • Not run (not requested).
  • CI validation added via .github/workflows/validate-desktop.yml to build the shared renderer, native addon, Electron shell, and Tauri shell on Linux.
  • Release packaging workflow now builds Electron assets for Linux and Windows across x64 and arm64.
  • Flatpak sync workflow now downloads Electron AppImages instead of the previous .deb artifacts.

- Expose `ETERNAL_API_TOKEN` in the Electron packaging step
- Keeps release workflow aligned with required secrets
- Introduce shared command utilities for cargo resolution and spawn error handling
- Harden Electron/NAPI build and dev flows against missing tools and duplicate installs
- Normalize Electron invoke errors and bump package/runtime versions
- Add custom deserializers that accept integer-valued numbers for `i64` and `u64` fields
- Preserve existing strictness for non-numeric and non-integral inputs
- add serialized, atomic store writes with per-store queues
- make settings reload tolerant of malformed on-disk data
- soften telemetry country lookup and HTTP error handling
- refresh desktop packaging, app IDs, and formatting
- Add `colog` to quadrant-host
- Initialize the logger once at startup
- Map `win32` to `windows` and `darwin` to `macos`
- Keep the platform IPC response consistent for the renderer
- Watch Electron-side files and restart the dev Electron process on changes
- Rebuild the N-API addon and runtime config before each restart
- Refresh Electron user agent and related Rust cleanup/formatting
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant