WorkBuddy、CodeBuddy 桌面端增强助手:签到猫猫旅行成长计划查询、多账号独立备份、点切即用;免打扰模式让 AI 无人值守跑长任务;跨账号会话迁移、异常中断自动续接;暂存/快捷提示词;毛玻璃主题与更多实用功能。
'use strict';
const { spawn } = require('node:child_process');
function launchWindowsInstaller(installerPath, spawnImpl = spawn) {
if (typeof installerPath !== 'string' || !/\.exe$/i.test(installerPath)) {
throw new Error('Windows installer path must point to Setup.exe');
}
return spawnImpl(installerPath, [], {
detached: true,
stdio: 'ignore',
windowsHide: false,
});
}
module.exports = { launchWindowsInstaller };