Skip to content

Update system version retrieval in error.html to use process.getSystemVersion for better accuracy#17449

Merged
88250 merged 1 commit intosiyuan-note:devfrom
TCOTC:fix/system-version
Apr 10, 2026
Merged

Update system version retrieval in error.html to use process.getSystemVersion for better accuracy#17449
88250 merged 1 commit intosiyuan-note:devfrom
TCOTC:fix/system-version

Conversation

@TCOTC
Copy link
Copy Markdown
Contributor

@TCOTC TCOTC commented Apr 10, 2026

Description / 描述

在 Mac 上正确显示系统版本,解决:

PixPin_2026-04-10_15-34-31

参考资料:

https://nodejs.org/api/os.html#osrelease

On POSIX systems, the operating system release is determined by calling uname(3). On Windows, GetVersionExW() is used. See https://en.wikipedia.org/wiki/Uname#Examples for more information.

在 POSIX 系统上,操作系统版本是通过调用 uname(3) 来确定的。在 Windows 上,使用 GetVersionExW() 。更多信息请参阅 https://en.wikipedia.org/wiki/Uname#Examples

Type of change / 变更类型

  • Bug fix
    缺陷修复
  • Refactoring
    代码重构
  • New feature
    新功能
  • Text updates or new language additions
    修改文案或增加新语言

Checklist / 检查清单

  • I have performed a self-review of my own code
    我对自己的代码进行了自我审查
  • I have full rights to the submitted code and agree to license it under this project's AGPL-3.0 license
    我拥有所提交代码的完整权利,并同意其以本项目的 AGPL-3.0 许可证授权
  • PR is submitted to the dev branch and has no merge conflicts
    PR 提交到 dev 分支,并且没有合并冲突

@88250 88250 merged commit 2e4c491 into siyuan-note:dev Apr 10, 2026
2 checks passed
@88250
Copy link
Copy Markdown
Member

88250 commented Apr 10, 2026

v3.6.4

@TCOTC TCOTC deleted the fix/system-version branch April 10, 2026 09:10
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.

2 participants