docs: keep Chinese README and refresh screenshots
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-05-07 22:22:27 +08:00
parent 84fb5950a0
commit e949aa2802
43 changed files with 69 additions and 65 deletions

View File

@@ -32,8 +32,8 @@ const GATEWAY_FETCH_PRELOAD_SOURCE = `'use strict';
delete flat['HTTP-Referer'];
delete flat['x-title'];
delete flat['X-Title'];
flat['HTTP-Referer'] = 'https://claw-x.com';
flat['X-Title'] = 'ClawX';
flat['HTTP-Referer'] = 'https://git.nianxx.cn/wangxuming/NianToB';
flat['X-Title'] = '智念助手';
init.headers = flat;
}
return _f.call(globalThis, input, init);

View File

@@ -176,13 +176,13 @@ export function createMenu(): void {
{
label: 'Documentation',
click: async () => {
await shell.openExternal('https://claw-x.com');
await shell.openExternal('https://git.nianxx.cn/wangxuming/NianToB');
},
},
{
label: 'Report Issue',
click: async () => {
await shell.openExternal('https://github.com/ValueCell-ai/ClawX/issues');
await shell.openExternal('https://git.nianxx.cn/wangxuming/NianToB');
},
},
{ type: 'separator' },

View File

@@ -83,8 +83,8 @@ export const PROVIDER_DEFINITIONS: ProviderDefinition[] = [
api: 'openai-completions',
apiKeyEnv: 'OPENROUTER_API_KEY',
headers: {
'HTTP-Referer': 'https://claw-x.com',
'X-Title': 'ClawX',
'HTTP-Referer': 'https://git.nianxx.cn/wangxuming/NianToB',
'X-Title': '智念助手',
},
},
},

View File

@@ -36,8 +36,8 @@
delete flat['HTTP-Referer'];
delete flat['x-title'];
delete flat['X-Title'];
flat['HTTP-Referer'] = 'https://claw-x.com';
flat['X-Title'] = 'ClawX';
flat['HTTP-Referer'] = 'https://git.nianxx.cn/wangxuming/NianToB';
flat['X-Title'] = '智念助手';
init.headers = flat;
}
return _f.call(globalThis, input, init);