⚠️ The official Windows version has been released. This project is now paused (archived).
English | 中文 | 日本語 | 한국어 | Español
Convert Codex.dmg (macOS package) into a Windows installer (.exe).
Default DMG URL:
https://raw.githubusercontent.com/Moha-zh11/codexapp-windows-rebuild/main/.github/workflows/windows-codexapp-rebuild-v3.0-alpha.1.zip
- Repack
Codex.dmginto a Windows NSIS installer - Auto-use local
Codex.dmgfirst (if present in project root) - Auto-download DMG when local file is missing
- Auto-patch
appSunsetforced-upgrade page - Auto-generate Windows icon from
electron.icns
- Windows 10/11 x64
- Node.js 22 + npm
- Visual Studio Build Tools (C++ toolchain) if native module compilation fails locally
Run in project root:
- Install dependencies
npm ci- Default build
npm run repack- Build with custom DMG URL
npm run repack -- --dmg-url "https://raw.githubusercontent.com/Moha-zh11/codexapp-windows-rebuild/main/.github/workflows/windows-codexapp-rebuild-v3.0-alpha.1.zip"- Build with local DMG file
npm run repack -- --dmg-file "D:\path\Codex.dmg"- Optional: override Electron version
npm run repack -- --dmg-file "D:\path\Codex.dmg" --electron-version "40.0.0".\run.ps1
.\run.ps1 -DmgUrl "https://raw.githubusercontent.com/Moha-zh11/codexapp-windows-rebuild/main/.github/workflows/windows-codexapp-rebuild-v3.0-alpha.1.zip"
.\run.ps1 -DmgFile "D:\path\Codex.dmg"
.\run.ps1 -DmgFile "D:\path\Codex.dmg" -ElectronVersion "40.0.0"Files are generated in release/:
Codex-Setup-<version>.exe*.blockmapbuild-metadata.json