fix: stabilize Windows launchers for v2.1.4

Fix Windows portable, installer, and desktop launcher startup paths; bump desktop metadata to 2.1.4.
This commit is contained in:
8000cabbage
2026-05-19 14:30:34 +08:00
committed by GitHub
parent c75188f935
commit 3ff3661825
8 changed files with 88 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "u-claw",
"version": "2.0.0",
"version": "2.1.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "u-claw",
"version": "2.0.0",
"version": "2.1.4",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "u-claw",
"version": "2.1.2",
"version": "2.1.4",
"description": "U-Claw - AI 助手桌面版,插上 U 盘就能用",
"main": "src/main.js",
"author": "U-Claw <hello@u-claw.org> (https://u-claw.org)",

View File

@@ -236,6 +236,10 @@ function startGateway(port) {
OPENCLAW_EMBEDDED_IN: APP_NAME,
};
if (process.platform === 'win32') {
env.OPENCLAW_DISABLE_BONJOUR = '1';
}
gatewayProcess = spawn(nodeBin, [
openclawEntry,
'gateway', 'run',