feat-bootstrap-Snaplet-Windows-screenshot-tool
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Snaplet
|
||||
|
||||
轻量、快速、顺手的桌面截图工具。当前优先支持 Windows,并为 macOS 保留相同的捕获接口。
|
||||
|
||||
## 第一版能力
|
||||
|
||||
- `Alt + Shift + A` 全局快捷键呼出截图
|
||||
- 主显示器区域框选
|
||||
- 复制截图到剪贴板或保存为 PNG
|
||||
- 系统托盘驻留,关闭设置窗口后继续后台运行
|
||||
- 可选开机自启动
|
||||
- 自定义截图快捷键
|
||||
|
||||
## 本地开发
|
||||
|
||||
需要 Node.js、Rust stable 和 Windows WebView2。
|
||||
|
||||
```powershell
|
||||
npm install
|
||||
npm run tauri dev
|
||||
```
|
||||
|
||||
在 Windows 上还需要 Visual Studio Build Tools 的“使用 C++ 的桌面开发”工作负载。当前开发机安装在 `C:\BuildTools`,可用以下方式生成发布包:
|
||||
|
||||
```cmd
|
||||
call C:\BuildTools\Common7\Tools\VsDevCmd.bat -arch=x64
|
||||
set PATH=C:\Users\vm15\.cargo\bin;%PATH%
|
||||
npm run tauri build
|
||||
```
|
||||
|
||||
生成结果位于 `src-tauri/target/release/bundle`。
|
||||
|
||||
## 近期计划
|
||||
|
||||
- 多显示器虚拟画布与跨屏框选
|
||||
- 标注工具:矩形、箭头、画笔、文字、马赛克
|
||||
- 窗口识别和放大镜
|
||||
- 截图历史与贴图
|
||||
- macOS ScreenCaptureKit 适配
|
||||
Reference in New Issue
Block a user