dsh-window-size-keeper

ecbob/dsh-window-size-keeper
★ —Added 2026-10-24🎨 外观与体验UI 增强

About

让 DSH 桌面端窗口保持你离开时的大小:记录主窗口最后一次的外框尺寸(物理像素),下次启动恢复并居中到工作区,而且赶在窗口露面之前改完,启动动画不会播在错误的分辨率上。设置页有 12 个常用分辨率(1024×768 到 3840×2160)、任意自定义宽高、「恢复时居中」开关与「立即应用」,选中即生效并持久化。改尺寸走一个在使用者本机现编的小助手 exe:C# 源码随插件一起发布,首次运行用 Windows 自带的 csc.exe 编一次(实测约 110 毫秒),产物与同名 .cs 缓存到状态文件同目录,之后起进程约 90 毫秒;编不出来时退回临时 powershell.exe 进程。包里不含二进制、package.json 不声明任何依赖、不发任何外部网络请求。仅限 Windows。

Install

curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.sh

Already have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market

This plugin installs only from the plugin side.

← Back to catalog