fix clawx image
This commit is contained in:
@@ -167,6 +167,7 @@ linux:
|
|||||||
Comment: AI Assistant powered by OpenClaw
|
Comment: AI Assistant powered by OpenClaw
|
||||||
Categories: Utility;Network;
|
Categories: Utility;Network;
|
||||||
Keywords: ai;assistant;automation;chat;
|
Keywords: ai;assistant;automation;chat;
|
||||||
|
StartupWMClass: clawx
|
||||||
|
|
||||||
appImage:
|
appImage:
|
||||||
license: LICENSE
|
license: LICENSE
|
||||||
|
|||||||
@@ -37,12 +37,12 @@ import { ensureBuiltinSkillsInstalled } from '../utils/skill-config';
|
|||||||
// set `"disable-hardware-acceleration": false` in the app config (future).
|
// set `"disable-hardware-acceleration": false` in the app config (future).
|
||||||
app.disableHardwareAcceleration();
|
app.disableHardwareAcceleration();
|
||||||
|
|
||||||
// On Linux (Wayland), tell GNOME which .desktop file belongs to this process.
|
// On Linux, set CHROME_DESKTOP so Chromium can find the correct .desktop file.
|
||||||
// Without this, the compositor cannot associate the running window with
|
// On Wayland this maps the running window to clawx.desktop (→ icon + app grouping);
|
||||||
// clawx.desktop, so no icon appears in the dock even though the app is running.
|
// on X11 it supplements the StartupWMClass matching.
|
||||||
// Must be called before app.whenReady() / before any window is created.
|
// Must be called before app.whenReady() / before any window is created.
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
app.setDesktopName('clawx');
|
app.setDesktopName('clawx.desktop');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prevent multiple instances of the app from running simultaneously.
|
// Prevent multiple instances of the app from running simultaneously.
|
||||||
|
|||||||
Reference in New Issue
Block a user