Mole icon indicating copy to clipboard operation
Mole copied to clipboard

[BUG] Mo update

Open Shepard33 opened this issue 8 months ago • 2 comments

Describe the bug

PS C:\WINDOWS\system32> mo update Local tracked changes detected in the installation directory. Commit or discard them before running 'mo update'.

A clear and concise description of what the bug is. We suggest using English for better global understanding.

If you believe the issue may allow unsafe deletion, path validation bypass, privilege boundary bypass, or release/install integrity issues, do not file a public bug report. Report it privately using the contact details in SECURITY.md.

Steps to reproduce

  1. Run command: mo ...
  2. ...
  3. See error

Expected behavior

A clear and concise description of what you expected to happen.

Debug logs

Please run the command with --debug flag and paste the output here:

mo <command> --debug
# Example: mo clean --debug
Debug output
Paste the debug output here

Environment

Please run mo update to ensure you are on the latest version, then paste the output of mo --version below:

Paste mo --version output here

Additional context

Add any other context about the problem here, such as screenshots or related issues.

Shepard33 avatar Mar 21 '26 16:03 Shepard33

Hey! I've opened a PR (#620) that adds .gitattributes to normalize line endings, which is the most likely cause of the false-positive dirty git status on Windows.

That said, to make sure we're fixing the right thing, could you share:

  1. Output of mo update --debug
  2. Output of git config core.autocrlf in your install directory

yetval avatar Mar 21 '26 18:03 yetval

@Shepard33 I pushed a Windows follow-up on windows in commit 16c3ea9.

This lands the line-ending normalization fix for source installs and keeps local launcher files out of the way. It also moves the Windows version to a single VERSION source so prerelease asset lookup stays aligned with the published Windows release tags.

Please pull the latest windows branch and re-test mo update.

tw93 avatar Mar 22 '26 06:03 tw93