Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Windows Changelog

## Unreleased

### 新增

- 系统托盘新增缩略图主题选择器入口;选择器支持单击应用、显示当前主题并删除非当前主题。托盘同时新增已保存主题自动轮换,可设置 15、30、60、120 或 240 分钟间隔,并可随时关闭。
## 1.5.6 — 2026-07-26

### 安全
Expand Down
2 changes: 2 additions & 0 deletions windows/README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ Open `Codex Dream Skin - Tray` to:
- Import a PNG, JPEG, or WebP background.
- Import an ordinary `.zip` theme pack into Saved Themes (`.dreamskin` is not supported).
- Save the active theme and switch through saved themes.
- Open a thumbnail theme picker. Clicking a card applies that theme, and non-active themes can be deleted.
- Rotate saved themes every 15, 30, 60, 120, or 240 minutes, or turn rotation off at any time.
- Pause or resume the skin.
- Reapply the theme or fully restore Codex.

Expand Down
2 changes: 2 additions & 0 deletions windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ powershell.exe -NoProfile -ExecutionPolicy RemoteSigned -File .\scripts\verify-d
- 更换 PNG、JPEG 或 WebP 背景图。
- 导入普通 `.zip` 主题包到“已保存主题”(不支持 `.dreamskin`)。
- 保存当前主题并从「已保存主题」切换。
- 打开带缩略图的主题选择器;单击卡片会应用主题,非当前主题可删除。
- 开启 15、30、60、120 或 240 分钟自动轮换,或随时关闭。
- 暂停或继续显示皮肤。
- 重新应用主题,或完整恢复 Codex。

Expand Down
2 changes: 2 additions & 0 deletions windows/scripts/common-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function Get-DreamSkinRuntimeEnginePaths {
Start = Join-Path $scripts 'start-dream-skin.ps1'
Restore = Join-Path $scripts 'restore-dream-skin.ps1'
Tray = Join-Path $scripts 'tray-dream-skin.ps1'
ThemePicker = Join-Path $scripts 'theme-picker.ps1'
CheckUpdate = Join-Path $scripts 'check-update.ps1'
}
}
Expand Down Expand Up @@ -202,6 +203,7 @@ function Install-DreamSkinRuntimeEngine {
'scripts\install-dream-skin.ps1',
'scripts\restore-dream-skin.ps1',
'scripts\start-dream-skin.ps1',
'scripts\theme-picker.ps1',
'scripts\theme-windows.ps1',
'scripts\tray-dream-skin.ps1',
'scripts\validate-safe-css-file.mjs',
Expand Down
8 changes: 6 additions & 2 deletions windows/scripts/install-dream-skin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ try {
$startScript = $engine.Start
$restoreScript = $engine.Restore
$trayScript = $engine.Tray
$themePickerScript = $engine.ThemePicker
$portArgument = if ($PortExplicit) { " -Port $Port" } else { '' }

foreach ($folder in @($desktop, $startMenu)) {
Expand All @@ -61,6 +62,7 @@ try {
$shortcut.Arguments = "-NoProfile -ExecutionPolicy RemoteSigned -File `"$startScript`"$portArgument -PromptRestart"
$shortcut.WorkingDirectory = $engine.Root
$shortcut.Description = 'Launch the official Codex app with Codex Dream Skin'
$shortcut.WindowStyle = 7
$shortcut.Save()
}

Expand All @@ -69,18 +71,20 @@ try {
$restore.Arguments = "-NoProfile -ExecutionPolicy RemoteSigned -File `"$restoreScript`"$portArgument -RestoreBaseTheme -PromptRestart"
$restore.WorkingDirectory = $engine.Root
$restore.Description = 'Restore the official Codex appearance and close the CDP session'
$restore.WindowStyle = 7
$restore.Save()

foreach ($folder in @($desktop, $startMenu)) {
$tray = $shell.CreateShortcut((Join-Path $folder 'Codex Dream Skin - Tray.lnk'))
$tray.TargetPath = $powershell
$tray.Arguments = "-NoProfile -STA -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File `"$trayScript`"$portArgument"
$tray.Arguments = "-NoProfile -STA -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File `"$trayScript`"$portArgument -AutoApply"
$tray.WorkingDirectory = $engine.Root
$tray.Description = 'Open Codex Dream Skin status and theme controls in the system tray'
$tray.WindowStyle = 7
$tray.Save()
}
Start-Process -FilePath $powershell -ArgumentList `
"-NoProfile -STA -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File `"$trayScript`"$portArgument" `
"-NoProfile -STA -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File `"$trayScript`"$portArgument -AutoApply" `
-WindowStyle Hidden | Out-Null
}

Expand Down
Loading