Repository navigation
Claude/Fix bug - #1
Merged
stevenchenUCD merged 5 commits intoNov 9, 2025
Merged
Conversation
This commit fixes issue #1 where the editor would incorrectly prompt to save files upon closing, even when no local modifications were made. Problem: - When a file was externally modified on disk, the code unconditionally set isSaved = false, causing the "unsaved changes" prompt even for unmodified files Solution: - Distinguish between "file already saved" and "file has local changes" states - If file is saved: silently load external changes with info notification - If file has unsaved changes: prompt user whether to reload Also added: - USAGE_GUIDE_CN.md: Chinese usage guide documenting that multi-window and PDF export features already exist in the application Changes: - src/renderer/store/editor.js (lines 1169-1195): Fixed file change handling logic - USAGE_GUIDE_CN.md: New documentation file
Added MAC_BUILD_GUIDE_CN.md with detailed instructions for building and packaging MarkText on macOS, including: - Prerequisites and system requirements - Step-by-step build instructions - Development mode setup - Troubleshooting common issues - Advanced build options - Output file descriptions This guide helps users build DMG and ZIP packages for both Intel (x64) and Apple Silicon (arm64) architectures.
Added INSTALL_FROM_REPO_CN.md with multiple installation methods: - Automatic build via GitHub Actions (release-v* branches) - Homebrew Cask installation - Direct download from GitHub Releases - One-click install scripts - CI/CD automation setup This guide helps users install MarkText without manual building by leveraging the existing GitHub Actions workflows.
Modified release.yml to trigger automatic builds for branches starting with 'claude/', in addition to 'release-v*' branches. This allows the release workflow to run on feature branches for testing and distribution.
Added comprehensive documentation: - HOMEBREW_INSTALL_CN.md: Complete guide for installing via Homebrew, including methods to override official cask and create custom tap - DOWNLOAD_CN.md: Full download page with all platform download links, installation instructions, and file checksums - README_FIXES.md: Summary of fixes and quick start guide These docs help users easily install the fixed version via multiple methods.
stevenchenUCD
commented
Nov 9, 2025
stevenchenUCD
left a comment
Owner
Author
There was a problem hiding this comment.
try to fix the bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
[Description of the bug or feature]