fix:kylin arm64 新建文件异常,输入法切换异常等问题 - #516
Open
bymain-518 wants to merge 3 commits into
Open
Conversation
added 3 commits
July 20, 2026 17:40
- Fix input method (fcitx4) and window display on Linux Wayland (银河麒麟 V10 SP1 aarch64) by re-execing with --ozone-platform=x11 --disable-gpu when Wayland is detected - Move isMacos/isLinux definitions before first use to fix TDZ bug - Add null/undefined guards throughout server handlers to prevent crashes - Add try-catch wrappers around error-prone operations (fs, store, protocol, etc.) - Add file-based debug logging for EFAULT write error investigation - Improve error handling in wrapper middleware to handle ctx.set failures - Fix bodyParser wrapping to catch and log parse errors - Add input validation for API endpoints (repo, path, query params) - Fix isLocalhost to handle IPv4-mapped IPv6 addresses - Fix parseRange to handle missing range and clamp end offset - Fix sendFile to handle directory stat and cache-control errors - Fix extension handler routing logic - Fix choose handler to properly release lock on error
Replace fs-extra ensureFile with native fs.promises access + writeFile to fix EFAULT bad address errors on aarch64 Linux. Remove all temporary debug logging (_dbg, /tmp/yank-debug.log) from file.ts and index.ts, restoring bodyParser and error handling to their original form.
Document the four key fixes for Kylin/UOS on ARM64: EFAULT file write fix, Wayland session compatibility via X11 backend, desktop icon launch fix via symlink, and deb dependency correction (libnss1 -> libnss3). Add installation instructions for both deb and command-line usage.
|
Someone is attempting to deploy a commit to the purocean's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
No description provided.