Skip to content

Add Windows desktop support - #46

Open
nonlooped wants to merge 6 commits into
hardbeat920:mainfrom
nonlooped:feat/windows-integration
Open

Add Windows desktop support#46
nonlooped wants to merge 6 commits into
hardbeat920:mainfrom
nonlooped:feat/windows-integration

Conversation

@nonlooped

Copy link
Copy Markdown

What changed

Adds Windows as a supported desktop target: Windows-native PTYs and process handling, drive/UNC-safe path normalization, Acrylic window styling, and an NSIS installer published by the release workflow. CI now checks macOS, Linux, and Windows.

Why

MonoCode's terminal, CLI discovery, filesystem paths, and release pipeline assumed Unix. This removes those assumptions so the existing feature set works on Windows and closes #18.

UI

Windows Acrylic and terminal:

MonoCode on Windows

MonoCode terminal on Windows

NSIS installer:

MonoCode Windows installer

Validation

  • npm run check:web — 1,017 tests passed; TypeScript passed
  • cargo fmt --check
  • cargo +stable-x86_64-pc-windows-msvc clippy --workspace --all-targets -- -D warnings
  • cargo +stable-x86_64-pc-windows-msvc test — 145 tests passed
  • npm run build:windows — produced MonoCode_0.1.28_x64-setup.exe
  • Release executable smoke-tested on Windows

Checklist

  • I ran npm run check
  • This PR is small and focused
  • I did not mix unrelated changes

Closes #18

- run agent CLIs and terminals with Windows-native process handling\n- normalize Windows paths and add Acrylic window styling\n- build, test, and publish an NSIS installer\n\nCloses hardbeat920#18
# Conflicts:
#	CHANGELOG.md
#	src-tauri/src/harness.rs
#	src-tauri/src/pty.rs
@hardbeat920

Copy link
Copy Markdown
Owner

Thanks for adding this @nonlooped ! CI is passing on all platforms now. Before merging, could you check a few things the review flagged?

  1. Restrict where the PTY library loads conpty.dll from.
  2. Make sure CLI detection picks Windows launchers for npm-installed agents.
  3. Preserve valid macOS/Linux filenames when normalizing paths.
  4. Avoid closing the whole app when one busy window closes.
  5. Make sure agents don’t remain running after a crash.

I haven’t verified these at runtime on Windows, so please let me know if any are already handled.

Thank you again 🙏

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.

Release windows build

2 participants