[Bug]: Installer fails: "Managed Dream Skin path contains a junction or symbolic link" on CJK usernames

Author: LinHaiJCreated Aug 5, 2026Updated Aug 28, 2026
Labelsbugstatus: considering

Platform / 平台

Windows

OS version / 系统版本

Windows 11

CPU / 架构

Apple Silicon (arm64)

Codex Desktop version / source / Codex 桌面版版本或来源

Microsoft store安装

Dream Skin version / 皮肤工具版本

CodexDreamSkin-Setup-v1.5.11

Problem category / 问题类型

Install failed / 安装失败

Self-check / 自检

  • Ran Verify / doctor (or Windows verify script) / 已运行 Verify 或 doctor
  • Tried Restore, then re-apply / 已尝试完全恢复后再应用
  • Official Codex still opens without the skin tools / 不用皮肤工具时官方 Codex 仍可正常打开
  • Searched existing issues / 已搜索现有 Issue

Steps to reproduce / 复现步骤

  1. Windows 用户名为中文(真实目录 C:\Users\林大帅
  2. 为了兼容仅 ASCII 路径的程序,系统存在目录联接点(junction): C:\Users\LinDaShuaiC:\Users\林大帅 (注册表 ProfileList 中该用户 SID 的 ProfileImagePathC:\Users\LinDaShuai$env:USERPROFILE 解析为 junction 路径)
  3. 双击 CodexDreamSkin-Setup-v1.5.11.exe
  4. 安装器弹出错误对话框并退出,安装中止

Expected behavior / 期望结果

  • 安装器应正常完成安装,或对 reparse point(junction / symlink)路径做 realpath 解析后继续,或提供路径覆盖选项 / 环境变量,让用户指定真实目录

Actual behavior / 实际结果

安装器检测到 "Managed Dream Skin path"(即 C:\Users\LinDaShuai,USERPROFILE 的 junction 路径)含重解析点,出于安全考虑直接拒绝写入并退出。

Modified official Codex install? / 是否改过官方 Codex 安装?

No — official app only / 否,仅官方安装

Logs / Verify / doctor output(recommended)/ 日志与校验输出(强烈建议)

Managed Dream Skin path contains a junction or symbolic link: C:\Users\LinDaShuai

Screenshots / video / 截图或录屏

Image

Extra context / 其他信息

这是 Windows 上"中文用户名 + 英文 junction 别名"的常见配置,中文系统用户很容易遇到 建议安装器对路径做 realpath/GetFinalPathNameByHandle 归一化后再做 junction 检测, 或在配置里支持自定义 managed path

Confirmation / 确认

  • I did not paste API keys or secrets / 我未粘贴 API Key 或其它密钥
  • I understand this is an unofficial theme tool (loopback CDP only) / 我理解这是非官方换肤工具(仅本机 CDP)

Source: Fei-Away/Codex-Dream-Skin