mirror of
https://github.com/dtzp555-max/odo.git
synced 2026-07-21 21:15:10 +00:00
- Generate placeholder icons: icon.png (512x512), tray-icon.png (16x16), icon.icns (macOS) - Fix window close behavior: hide to tray instead of quitting - Add tray left-click and double-click handlers to restore window - Add app.dock.hide/show on macOS for proper dock visibility - Bump version to 0.9.6 in package.json, preload.js, openclaw-manager.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.6',
|
|
isElectron: true
|
|
});
|