chore: migrate desktop runtime to dsh alpha.2 - #756
Open
t4wefan wants to merge 4 commits into
Open
Conversation
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.
Summary / 摘要
dsh-v0.1.2-alpha.2and vendor its 245-package runtime closure.将上游子模块固定到
dsh-v0.1.2-alpha.2,并同步 245 个运行时包。dsh-util-timepeer required by alpha.2.对齐共享框架依赖,并加入 alpha.2 新要求的
dsh-util-timepeer。仅迁移六个 Desktop 正常运行所需的系统/Electron 补丁:Windows 子进程隐藏、原生目录选择与不可读目录过滤、Electron 浏览器 helper 环境隔离。
settingsNamespacekeeps alpha.2 validation,installSettingsSectiondelegates toSettingsProvider.installSection, anddeepEqualJsonre-exports the alpha.2 util implementation. This fixes the reproduced startup failure in npm-latestdshmarket@1.38.0without rewriting or downgrading a user profile.以 deprecated、纯加法 shim 恢复 alpha.1 的三个 settings 运行时导出;修复 npm 最新版
dshmarket@1.38.0已复现的启动失败,不改写或降级用户 profile。将 Desktop 与 Community Market 自身迁移到 alpha.2 原生 settings namespace API。
删除纯外观性质的上游设置图标补丁。
Validation / 验证
corepack yarn install --immutablegit apply --check --whitespace=error-allfor the settings compatibility patchcorepack yarn checkcorepack yarn dist:mac-smokebefore the additive settings shimRemaining platform checks / 待实机验证
yarn devagainst a real profile after the reproduced settings import failureThe macOS smoke intentionally skips signing and notarization. No Windows package was built on macOS.