搓了个简单的脚本来实现自动保存 (Ctrl+S)
有些工业软件 没有自动保存也没有自动备份, 如果软件突然崩溃真的很搞人, 这时候就会需要这个小脚本
- https://github.com/DBinK/CtrlS
快速上手 (Windows):
安装脚本到自带隔离的环境 (不会污染系统)
powershell -ExecutionPolicy Bypass -c "irm https://gitee.com/wangnov/uv-custom/releases/download/latest/uv-installer-custom.ps1 | iex" # 安装 uv
uv tool install git+https://github.com/DBinK/CtrlS.git # 安装脚本为 uv 工具
然后就能在任意终端输入 下面的命令启动脚本
ctrls -t 60 # 每 60 秒保存一次
有些工业软件 没有自动保存也没有自动备份, 如果软件突然崩溃真的很搞人, 这时候就会需要这个小脚本
- https://github.com/DBinK/CtrlS
快速上手 (Windows):
安装脚本到自带隔离的环境 (不会污染系统)
powershell -ExecutionPolicy Bypass -c "irm https://gitee.com/wangnov/uv-custom/releases/download/latest/uv-installer-custom.ps1 | iex" # 安装 uv
uv tool install git+https://github.com/DBinK/CtrlS.git # 安装脚本为 uv 工具
然后就能在任意终端输入 下面的命令启动脚本
ctrls -t 60 # 每 60 秒保存一次