Skip to content

[codex] Fix Windows build copy step#1

Draft
fusae wants to merge 1 commit into
mainfrom
codex/windows-copy-files
Draft

[codex] Fix Windows build copy step#1
fusae wants to merge 1 commit into
mainfrom
codex/windows-copy-files

Conversation

@fusae

@fusae fusae commented May 27, 2026

Copy link
Copy Markdown
Owner

What changed

  • replaced the Unix-only copy-files npm script with a Node-based cross-platform script
  • added scripts/copy-files.mjs to copy db, data, and web assets during build

Why

  • the documented Windows build path fails in native Windows shells because mkdir -p and cp are not available
  • this makes Build-Windows.cmd and npm run desktop:dist:win work as documented

Validation

  • npm run build
  • npm run desktop:dist:win on Windows with Node 20

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