开发模式运行 以开发模式启动应用: npm run dev 它会执行: 通过 tsc 编译 TypeScript 使用 --dev 启动 Electron 常用任务: Lint/格式化:使用编辑器内置 TS 工具(无单独脚本) 重建原生依赖:npm run postinstall(极少需要)