CodeNomad/packages/electron-app
2025-12-07 01:18:26 +00:00
..
electron open external links in native shells 2025-12-07 01:18:26 +00:00
scripts Remove universal mac build outputs 2025-11-21 16:58:04 +00:00
.gitignore Split workspace into electron and ui packages 2025-11-17 12:06:58 +00:00
electron.vite.config.ts Increase timeout for CLI startup 2025-12-03 16:37:48 +00:00
package.json bump version 0.2.8 2025-12-06 23:22:18 +00:00
README.md Update Readmes 2025-11-21 12:37:24 +00:00
tsconfig.json Split workspace into electron and ui packages 2025-11-17 12:06:58 +00:00

CodeNomad App

This package contains the native desktop application shell for CodeNomad, built with Electron.

Overview

The Electron app wraps the CodeNomad UI and Server into a standalone executable. It provides deeper system integration, such as:

  • Native window management
  • Global keyboard shortcuts
  • Application menu integration

Development

To run the Electron app in development mode:

npm run dev

This will start the renderer (UI) and the main process with hot reloading.

Building

To build the application for your current platform:

npm run build

To build for specific platforms (requires appropriate build tools):

  • macOS: npm run build:mac
  • Windows: npm run build:win
  • Linux: npm run build:linux

Structure

  • electron/main: Main process code (window creation, IPC).
  • electron/preload: Preload scripts for secure bridge between main and renderer.
  • electron/resources: Static assets like icons.