Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Generated with .

This PR improves Windows build compatibility:

  • Adjusts CI/workflows and scripts for Windows.
  • No breaking changes; no migrations required.

If you want me to expand the description with specific diffs, say "elaborate".

@ibetitsmike ibetitsmike changed the title 🤖 fix: Windows build fix: Windows compatibility Nov 9, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

fix: improved windows compatibility

🤖 fix: publish Windows .exe in release workflow\n\n- Add Windows job to build and publish NSIS .exe\n- Install ImageMagick on Windows in setup-cmux action\n- Set Windows icon and artifactName in electron-builder config\n\n_Generated with _

fix: chalk tests improvements

fix: codex review

WIP

🤖 feat: add unified cross-platform path utilities for Windows compatibility

- Created PlatformPaths utility class for OS-aware path operations
- Added UI-specific path formatting utilities for renderer process
- Updated all path handling to use centralized utilities
- Refactored pathAbbreviation to support Windows paths (C:\U\j\D\project)
- Updated components: ProjectSidebar, NewWorkspaceModal, SecretsModal
- Updated config.ts to use PlatformPaths for project name extraction
- Eliminated 6+ instances of duplicated path splitting logic
- Added comprehensive test suite (33 tests, all passing)
- Added src/utils/platform/ to ESLint main-process exclusions

This change prepares cmux for Windows support by centralizing all path
operations into platform-aware utilities, ensuring correct behavior on
Windows, macOS, and Linux.

WIP

fix: path cleanup

fix: fmt

fix: tests & fmt

fix: exclude heavy dirs from watch

fix: ssh workdir

fix: test

WIP

fix: fmt
@ibetitsmike ibetitsmike force-pushed the mike/windows-build-fix branch from e7425ed to ef8286d Compare November 12, 2025 01:27
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