flying-lobster 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flying-lobster",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Always-on-top chat window for OpenClaw gateways 🦞",
5
5
  "author": "Rootlab.ai",
6
6
  "license": "MIT",
@@ -228,12 +228,16 @@ async function startUpdate() {
228
228
  }
229
229
 
230
230
  /**
231
- * Notify the renderer process of state changes
231
+ * Notify all renderer processes of state changes
232
232
  */
233
233
  function notifyRenderer() {
234
- if (mainWindow && !mainWindow.isDestroyed()) {
235
- mainWindow.webContents.send('update-state-changed', { ...updateState });
236
- }
234
+ const { BrowserWindow } = require('electron');
235
+ // Send to all open windows (main + settings)
236
+ BrowserWindow.getAllWindows().forEach(win => {
237
+ if (win && !win.isDestroyed()) {
238
+ win.webContents.send('update-state-changed', { ...updateState });
239
+ }
240
+ });
237
241
  }
238
242
 
239
243
  /**
@@ -192,11 +192,10 @@
192
192
  }
193
193
  .gw-item:last-child { border-bottom: none; }
194
194
  .gw-item:hover {
195
- background: var(--bg-surface-hover);
196
- transform: translateX(4px);
195
+ /* hover removed */
197
196
  }
198
197
  .gw-item:hover::before {
199
- background: var(--accent);
198
+ /* hover removed */
200
199
  }
201
200
  .gw-item .info { flex: 1; }
202
201
  .gw-item .name {
@@ -386,11 +385,10 @@
386
385
  }
387
386
  .shortcut-item:last-child { border-bottom: none; }
388
387
  .shortcut-item:hover {
389
- background: var(--bg-surface-hover);
390
- transform: translateX(4px);
388
+ /* hover removed */
391
389
  }
392
390
  .shortcut-item:hover::before {
393
- background: var(--accent);
391
+ /* hover removed */
394
392
  }
395
393
  .shortcut-item .label {
396
394
  font-size: 13px;
@@ -336,9 +336,9 @@ function renderUpdateState(state) {
336
336
  updateActions.innerHTML = '';
337
337
  checkUpdateBtn.disabled = false;
338
338
  checkUpdateBtn.textContent = 'Check for Updates';
339
- } else if (state.latestVersion) {
339
+ } else if (state.currentVersion) {
340
340
  updateStatusItem.style.display = '';
341
- updateStatusText.innerHTML = `<span style="color: var(--success);">✓</span> You're up to date (${state.latestVersion})`;
341
+ updateStatusText.innerHTML = `<span style="color: var(--success);">✓</span> You're up to date (${state.currentVersion})`;
342
342
  updateActions.innerHTML = '';
343
343
  checkUpdateBtn.disabled = false;
344
344
  checkUpdateBtn.textContent = 'Check for Updates';
@@ -374,7 +374,7 @@ checkUpdateBtn.addEventListener('click', async () => {
374
374
  const version = await window.api.getAppVersion();
375
375
  $('#app-version').textContent = `v${version}`;
376
376
 
377
- // Get initial update state
378
- const updateState = await window.api.getUpdateState();
379
- renderUpdateState(updateState);
377
+ // Don't show update status on load - only after user clicks "Check for Updates"
378
+ // Hide the status item initially
379
+ updateStatusItem.style.display = 'none';
380
380
  })();