chore(dep): ms isbinaryfile dependency override in package.json (#417)
This commit is contained in:
committed by
GitHub
Unverified
parent
14646a69fc
commit
5b59c8a8e2
@@ -11,7 +11,10 @@
|
|||||||
"node-llama-cpp",
|
"node-llama-cpp",
|
||||||
"protobufjs",
|
"protobufjs",
|
||||||
"sharp"
|
"sharp"
|
||||||
]
|
],
|
||||||
|
"overrides": {
|
||||||
|
"isbinaryfile": "^5.0.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"description": "ClawX - Graphical AI Assistant based on OpenClaw",
|
"description": "ClawX - Graphical AI Assistant based on OpenClaw",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
@@ -49,7 +52,8 @@
|
|||||||
"electron-updater": "^6.8.3",
|
"electron-updater": "^6.8.3",
|
||||||
"node-machine-id": "^1.1.12",
|
"node-machine-id": "^1.1.12",
|
||||||
"posthog-node": "^5.28.0",
|
"posthog-node": "^5.28.0",
|
||||||
"ws": "^8.19.0"
|
"ws": "^8.19.0",
|
||||||
|
"ms": "^2.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
|
|||||||
983
pnpm-lock.yaml
generated
983
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* TitleBar Component
|
* TitleBar Component
|
||||||
* macOS: empty drag region (native traffic lights handled by hiddenInset).
|
* macOS: empty drag region (native traffic lights handled by hiddenInset).
|
||||||
* Windows/Linux: icon + "ClawX" on left, minimize/maximize/close on right.
|
* Windows/Linux: drag region on left, minimize/maximize/close on right.
|
||||||
*/
|
*/
|
||||||
import { useState, useEffect } from 'react';
|
import { useState, useEffect } from 'react';
|
||||||
import { Minus, Square, X, Copy } from 'lucide-react';
|
import { Minus, Square, X, Copy } from 'lucide-react';
|
||||||
import logoSvg from '@/assets/logo.svg';
|
|
||||||
import { invokeIpc } from '@/lib/api-client';
|
import { invokeIpc } from '@/lib/api-client';
|
||||||
|
|
||||||
const isMac = window.electron?.platform === 'darwin';
|
const isMac = window.electron?.platform === 'darwin';
|
||||||
@@ -46,14 +45,7 @@ function WindowsTitleBar() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="drag-region flex h-10 shrink-0 items-center justify-between border-b bg-background">
|
<div className="drag-region flex h-10 shrink-0 items-center justify-end border-b bg-background">
|
||||||
{/* Left: Icon + App Name */}
|
|
||||||
<div className="no-drag flex items-center gap-2 pl-3">
|
|
||||||
<img src={logoSvg} alt="ClawX" className="h-5 w-auto" />
|
|
||||||
<span className="text-xs font-medium text-muted-foreground select-none">
|
|
||||||
ClawX
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Right: Window Controls */}
|
{/* Right: Window Controls */}
|
||||||
<div className="no-drag flex h-full">
|
<div className="no-drag flex h-full">
|
||||||
|
|||||||
Reference in New Issue
Block a user