feat: prepare Zhinian desktop client for pilot release

This commit is contained in:
inman
2026-04-29 10:23:20 +08:00
parent f9361e686a
commit 47b83b79fc
149 changed files with 15341 additions and 3590 deletions

View File

@@ -70,12 +70,12 @@ describe('launch-at-startup integration', () => {
setPlatform('linux');
const { applyLaunchAtStartupSetting } = await import('@electron/main/launch-at-startup');
const autostartPath = join(testHome, '.config', 'autostart', 'clawx.desktop');
const autostartPath = join(testHome, '.config', 'autostart', 'zhinian-assistant.desktop');
await applyLaunchAtStartupSetting(true);
const content = await readFile(autostartPath, 'utf8');
expect(content).toContain('[Desktop Entry]');
expect(content).toContain('Name=ClawX');
expect(content).toContain('Name=智念助手');
expect(content).toContain('Exec=');
await applyLaunchAtStartupSetting(false);