fix(startup): honor configured directory in resident launches - #492
Merged
Merged
Conversation
Owner
Author
|
CI 的平台条件计数发现新增的两处 Windows 限定超过现有预算。已在 e52f0d7 移除纯标准库目录选择函数与测试的不必要 Windows 限定;未修改预算、检查器或 CI。函数/测试主体及 Windows 上执行的逻辑不变,Linux 现在也执行这 3 项测试。平台条件检查回到 468/468,架构和差异检查通过。等待新 head 的全部必需检查与所选原生测试。 |
Kuddev
commented
Oct 5, 2026
Kuddev
left a comment
Owner
Author
There was a problem hiding this comment.
维护者复核当前提交 e52f0d7:确认二次启动目录顺序为显式 CLI 目录、有效启动目录设置、进程 cwd。现有冷启动/UI 入口共用目录有效性检查;保留失效显式路径兼容、上下文菜单修正、Shell 选择、窗口策略、权限隔离与原交接协议。daemon/-e 提前返回,避免新增设置读取。仅 3 个源码文件,无依赖、线程、轮询、推广内容、配置项或门禁放宽。已核对 3 项目录回归、3 项既有兼容测试、81 项设置测试,当前 head 的五平台实际原生测试与 10 项必需检查均成功,main 为该 head 的祖先,无未解决评审线程。此为维护者本人复核,不是独立审批。完整登录/双进程 GUI 现场验收仍单独记录。
3 tasks done
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.
用户结果
Refs #479. 补齐已有驻留实例时普通二次启动忽略“启动目录”的路径。冷启动部分已由 #485 修复,本 PR 不改会话恢复优先级。
修复逻辑
范围和成本
只修改 3 个源码文件;无依赖、线程、轮询、配置项或协议字段增加。普通交接复用已有的一次设置读取;仅在没有显式目录时检查配置目录。没有修改实时终端、用户配置或发布资产。
已执行验证
未执行真实 Windows 登录自启动或完整双进程 GUI 交接验收;远端当前提交 CI 待完成。#479 保持打开,避免把目录选择层验证当成所有入口的现场确认。