Windows · 手动与 Codex 辅助方式
在 Windows 上安装 Codex Dream Skin
克隆官方仓库、安装托管运行时,再通过 PowerShell 或创建的快捷方式启动。可从系统托盘使用内置主题。验证可选;恢复始终可用。
开始前
确认本机前提条件
- 已安装官方 Codex Desktop,并至少启动过一次。
- 当前 Windows 流程需要 Node.js 22 或更高版本。
- 普通 Windows 用户账户下可使用 PowerShell 和 Git。
复制限定安全范围的 Windows 提示词
此提示词只使用官方仓库,保护无关配置,将验证设为可选,并要求在最后提供恢复说明。
复制前查看完整提示词
Help me install Codex Dream Skin from the official repository https://github.com/Fei-Away/Codex-Dream-Skin.
No specific theme was selected. After installation, show me the bundled themes and ask before applying one.
Safety requirements:
- Explain each action before running it.
- Use only the official repository scripts and current repository documentation. Do not modify the official app bundle, app.asar, WindowsApps, code signatures, or system security settings.
- Do not read, print, replace, or upload API keys, Base URLs, authentication data, private project paths, images, or unrelated configuration.
- If config.toml is complex or multiline, changes during the operation, or a script refuses it, stop and explain. Never delete or rebuild it.
- If a command no longer matches the current repository documentation, stop and report the mismatch instead of improvising.
- Verification is optional, but offer it after launch and explain what evidence it creates.
- Finish by giving me the exact restore command and log/state location.
Windows workflow:
1. Confirm this is Windows and read README.md, windows/SKILL.md, and the relevant PowerShell scripts.
2. Confirm official Codex Desktop has launched at least once, PowerShell is available, and Node.js 22 or newer is installed.
3. Clone the repository using:
git clone https://github.com/Fei-Away/Codex-Dream-Skin.git
Set-Location Codex-Dream-Skin
4. Install using:
powershell -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1
5. Start using:
powershell -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1
6. Use the system tray to show the bundled presets and ask which one to apply.
7. Offer the optional verification command and ask for an absolute screenshot path only if I want evidence:
.\scripts\verify-dream-skin.ps1
8. Explain state/log path %LOCALAPPDATA%\CodexDreamSkin and restore with:
.\scripts\restore-dream-skin.ps1替代方式 · 手动 PowerShell 流程
从克隆到恢复,清晰的五个步骤
请在普通 PowerShell 会话中运行命令。安装后,快捷方式使用本地应用数据下的托管引擎,不再依赖源码检出目录。
克隆官方仓库
克隆官方 GitHub 项目并进入仓库。下方 PowerShell 命令包含 Windows 脚本路径。
Windows
克隆引擎源码
请使用官方项目 URL,并在安装完成前保留检出目录。
git clone https://github.com/Fei-Away/Codex-Dream-Skin.git
Set-Location Codex-Dream-Skin安装托管运行时
安装器会保留原生外观基线,将运行时复制到 %LOCALAPPDATA%\CodexDreamSkin\engine\engine,并创建不依赖检出目录的启动、恢复和托盘快捷方式。
Windows
运行安装脚本
请在克隆仓库的根目录运行。该命令使用本地检出目录中的 Windows 安装器。
powershell -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1启动并切换主题
通过仓库脚本或创建的 Codex Dream Skin 快捷方式启动 Dream Skin。系统托盘支持应用、暂停、导入、保存、切换和恢复。首次启动会预加载与 macOS 相同的内置预设集合。
Windows
启动 Dream Skin
启动器使用本地 CDP,并动态定位已注册的官方 Codex 包。
powershell -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1托盘中的内置主题
- Romantic Rose
- Cyber Neon
- Forest Mist
- Midnight Aurora
- Amber Dusk
- Sakura Dawn
验证并保留证据
可选继续使用 Dream Skin 不要求验证。需要检查首页外壳、原生控件、任务视图和注入标记时再运行。仅在需要保留证据时添加截图的绝对路径。
Windows
可选可选验证
分享前请审阅截图并移除敏感内容。不要假定用户名或个人路径可以公开。
.\scripts\verify-dream-skin.ps1恢复原始外观
运行基础恢复以移除正在运行的皮肤并关闭已保存的 CDP 会话。可选开关只能用于其文档说明的目的:-RestoreBaseTheme 用于恢复已保存的外观键,-RecoverConfigBackup 用于执行明确的逐字节恢复,而 -Uninstall 会移除快捷方式。
Windows
恢复 Dream Skin
开始安装前,请确保该命令随时可用。
.\scripts\restore-dream-skin.ps1Windows 路径与运行时说明
状态、日志、主题与引擎
%LOCALAPPDATA%\CodexDreamSkin
本地 CDP 端口
默认端口为 9335。默认端口被占用时,启动器会扫描空闲端口;若显式指定的端口已被占用,流程会安全失败。