Skip to content

Add macOS launch support and setup bundle export#56

Open
xiansa20 wants to merge 2 commits into
ExplosiveCoderflome:mainfrom
xiansa20:codex/mac-setup-export
Open

Add macOS launch support and setup bundle export#56
xiansa20 wants to merge 2 commits into
ExplosiveCoderflome:mainfrom
xiansa20:codex/mac-setup-export

Conversation

@xiansa20
Copy link
Copy Markdown

@xiansa20 xiansa20 commented May 19, 2026

变更说明

贡献确认

  • 我确认自己有权提交本次贡献。
  • 我已阅读并同意 Contributor License Agreement
  • 如果本次贡献包含第三方代码、素材、数据、AI 生成内容或其他受许可证约束的内容,我已在 PR 中说明来源和许可证。

@xiansa20
Copy link
Copy Markdown
Author

变更说明

本次 PR 包含两项改动:

  • 添加 macOS 本地启动支持,包括 启动.commandmac/start-mac.sh,方便 macOS 用户直接启动项目。
  • 添加 macOS 桌面打包支持,包括 .icns 图标处理和 dist:desktop:mac 打包脚本。
  • 添加“前期设定 / 小说设定”导出能力,可导出小说基础设定、故事规划和角色前期准备内容,方便备份、迁移或整理设定资料。

验证情况

已在本地完成以下验证:

  • pnpm --filter @ai-novel/shared build
  • pnpm --filter @ai-novel/server prisma:generate
  • pnpm --filter @ai-novel/server build
  • node --test server/tests/novelExportService.test.js
  • pnpm --filter @ai-novel/client build
  • node scripts/wait-for-port.cjs --help
  • zsh -n mac/start-mac.sh && zsh -n 启动.command

贡献确认

  • 我确认自己有权提交本次贡献。
  • 我已阅读并同意 Contributor License Agreement。
  • 本次 PR 使用 Codex 协助整理和提交,不包含额外第三方代码、素材或数据;新增图标由项目现有资源生成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant