mirror of
https://github.com/dtzp555-max/odo.git
synced 2026-07-19 09:44:37 +00:00
- Electron main process with tray icon and IPC setup - openclaw-manager.js server bridge - Architecture design document (ODO_ARCHITECTURE.md) - preload.js for renderer context bridge
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
'use strict';
|
|
|
|
// Preload script — runs in renderer before page loads
|
|
// Currently minimal; will be expanded for IPC bridge in future phases
|
|
|
|
const { contextBridge } = require('electron');
|
|
|
|
contextBridge.exposeInMainWorld('odo', {
|
|
platform: process.platform,
|
|
version: '0.9.4',
|
|
isElectron: true
|
|
});
|