feat: update desktop workflows and app center
This commit is contained in:
@@ -37,6 +37,7 @@ import { syncProxyConfigToOpenClaw } from '../utils/openclaw-proxy';
|
||||
import { logger } from '../utils/logger';
|
||||
import { prependPathEntry } from '../utils/env-path';
|
||||
import { buildDotnetEnv } from '../utils/dotnet-runtime';
|
||||
import { buildPlaywrightRuntimeEnv, ensureYinianPlaywrightRuntimeDirs } from '../utils/playwright-runtime';
|
||||
import { copyPluginFromNodeModules, ensureCloudSyncPluginInstalled, fixupPluginManifest, cpSyncSafe } from '../utils/plugin-install';
|
||||
import { stripSystemdSupervisorEnv } from './config-sync-env';
|
||||
import { ensureYinianModelRuntimeConfigured } from '../utils/model-diagnostics';
|
||||
@@ -556,6 +557,8 @@ export async function prepareGatewayLaunchContext(port: number): Promise<Gateway
|
||||
? prependPathEntry(baseEnvRecord, binPath).env
|
||||
: baseEnvRecord;
|
||||
const baseEnvWithDotnet = buildDotnetEnv(baseEnvPatched);
|
||||
ensureYinianPlaywrightRuntimeDirs();
|
||||
const playwrightEnv = buildPlaywrightRuntimeEnv(baseEnvWithDotnet);
|
||||
const nodePath = buildNodePathEnv(baseEnvPatched, [
|
||||
join(process.cwd(), 'node_modules'),
|
||||
join(app.getAppPath(), 'node_modules'),
|
||||
@@ -567,6 +570,7 @@ export async function prepareGatewayLaunchContext(port: number): Promise<Gateway
|
||||
...providerEnv,
|
||||
...uvEnv,
|
||||
...proxyEnv,
|
||||
...playwrightEnv,
|
||||
...bundledPackageManagerEnv,
|
||||
...(nodePath ? { NODE_PATH: nodePath } : {}),
|
||||
OPENCLAW_GATEWAY_TOKEN: appSettings.gatewayToken,
|
||||
|
||||
Reference in New Issue
Block a user