mirror of
https://github.com/dtzp555-max/odo.git
synced 2026-07-21 21:15:10 +00:00
feat: add tray support and cross-platform packaging assets (v0.9.6)
- 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>
This commit is contained in:
@@ -24,7 +24,7 @@ const SCRIPT_DIR = __dirname;
|
||||
const MANAGER_CONFIG = path.join(SCRIPT_DIR, 'manager-config.json');
|
||||
let PORT = 3333;
|
||||
let HOST = '0.0.0.0';
|
||||
const APP_VERSION = '0.9.4';
|
||||
const APP_VERSION = '0.9.6';
|
||||
// --port 参数
|
||||
const portIdx = process.argv.indexOf('--port');
|
||||
if (portIdx !== -1 && process.argv[portIdx + 1]) PORT = parseInt(process.argv[portIdx + 1]) || 3333;
|
||||
|
||||
Reference in New Issue
Block a user