Skip to content

Conversation

@cto-new
Copy link

@cto-new cto-new bot commented Nov 21, 2025

Overview

  • Introduces Windows x64 cross-build support for Opcode by cross-compiling from Linux to Windows using the x86_64-pc-windows-gnu target and MinGW-w64.

What changed

  • Rust target and tooling: Add x86_64-pc-windows-gnu and MinGW-w64 to enable Windows cross-compilation.
  • Tauri packaging: Update src-tauri/tauri.conf.json to include NSIS and MSI bundles for Windows installers.
  • Build automation: Introduce scripts/build-windows.sh to automate frontend build and Windows cross-build, producing opcode.exe and opcode-web.exe in release.
  • Release artifacts: Binaries for Windows x64 are built (GUI and web server) along with WebView2Loader.dll when packaging.
  • Packaging and docs: Create portable ZIP release artifacts (GUI and Web) with README, checksums, and per-package notes. Guidance for NSIS/macOS installers notes that makensis is required on Linux and might not be bundled yet.

Artifacts

  • GUI binary: opcode.exe (Windows x64 GUI)
  • Web binary: opcode-web.exe (Windows x64 console web server)
  • Dependency: WebView2Loader.dll (GUI WebView2 runtime)
  • Release packages: opcode-gui-windows-x64-.zip and opcode-web-windows-x64-.zip with checksums

Notes

  • NSIS packaging requires makensis; Linux environments may not bundle installers yet. The release remains a portable ZIP with binaries and dependencies.

cto-new bot added 2 commits November 21, 2025 03:24
Enable cross-compilation to Windows x64 using the GNU toolchain.
Adds Windows target, updates Tauri bundle targets, and adds a helper
script to automate frontend build and cross-build.

- Produces opcode.exe and opcode-web.exe under the Windows GNU target
- Integrates Windows targets nsis and msi in tauri.conf
- Script build-windows.sh orchestrates the workflow

Impact: allows Windows distribution from Linux; NSIS bundling may require
Windows-specific tools to create installers.
@cto-new cto-new bot merged commit b05a519 into main Nov 21, 2025
3 of 8 checks passed
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.

0 participants