2026-10-21 00:54:54 +00:00
|
|
|
[package]
|
|
|
|
|
name = "shift"
|
release: prepare Shift 0.1.12
Versions, release docs and the ledger's version row for the two installers.
Both artifacts were built from this tree with the release key baked in, so
either one can verify the signed channel: `Shift-0.1.12-macOS-universal.dmg`
(universal, `Signature=adhoc`, `codesign --verify --deep --strict` and
`hdiutil verify` both clean, no notarization) and
`Shift-Setup-0.1.12-win-x64.exe` (cross-compiled, PE machine `0x8664`
checked, the platform's own frontend confirmed embedded).
Four reported issues, and the fifth request:
- 系统小图标改为黑白单色模板图,由 `scripts/build-tray-icon.py` 重绘。
- Windows 一键安装组件:winget 的良性退出码、未钉源导致的挂死、缺失的提权
路径,以及装完后进程内 PATH 仍是旧值,四个原因都在同一处。
- 钉在屏幕上的图片新增可用的放大/还原按钮。
- 「最近使用」的收藏行带上常驻指示器。
- 参照 nex_squid 降低闲置开销:伴生进程、Windows 手势监视、发现线程与主窗口
时钟四处采样节奏,外加最近列表只解码视线内的缩略图。
The Windows install fix still wants a real Windows host: the exact prose a
dismissed UAC prompt prints, and whether each package accepts
`--scope user`, are both handled defensively rather than verified.
Co-Authored-By: Codex <noreply@openai.com>
2026-11-19 09:52:32 +00:00
|
|
|
version = "0.1.12"
|
2026-10-21 00:54:54 +00:00
|
|
|
description = "A radial file utility with screenshot, recording and OCR."
|
|
|
|
|
authors = ["Shift Contributors"]
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
name = "shift_lib"
|
|
|
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
tauri = { version = "2.11", features = ["tray-icon", "image-png", "macos-private-api", "protocol-asset", "unstable"] }
|
|
|
|
|
tauri-plugin-clipboard-manager = "2"
|
|
|
|
|
tauri-plugin-dialog = "2"
|
|
|
|
|
tauri-plugin-global-shortcut = "2"
|
|
|
|
|
tauri-plugin-opener = "2"
|
2026-10-27 10:45:32 +00:00
|
|
|
tauri-plugin-single-instance = "2"
|
2026-10-21 00:54:54 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
image = { version = "0.25.8", default-features = false, features = ["png", "jpeg", "webp", "tiff", "bmp", "gif"] }
|
|
|
|
|
lopdf = { version = "0.45", default-features = false }
|
|
|
|
|
printpdf = { version = "0.12.8", default-features = false, features = ["images", "png", "jpeg", "webp", "tiff", "bmp", "gif"] }
|
|
|
|
|
calamine = "0.36.1"
|
|
|
|
|
quick-xml = "0.42"
|
|
|
|
|
zip = { version = "8.6", default-features = false, features = ["deflate"] }
|
|
|
|
|
base64 = "0.22"
|
|
|
|
|
chrono = { version = "0.4", features = ["clock"] }
|
|
|
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
|
which = "7"
|
release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only
Update path
- `src-tauri/src/update.rs`: manifest fetch, semver compare, optional ed25519
signature check against a key baked in at build time, then a size + SHA256
gate before an installer can run. `UpdateStatus` now reports the artifact key
it resolved so the UI can name what it will install.
- Settings → Updates panel shows the feed, the check/download state machine, and
the local OS, architecture and release artifact for this machine.
- `scripts/publish-release.sh` + `scripts/release-key.py` publish installers and a
signed `shift-update.json` onto an orphan `releases` branch.
Scope trims requested for this release
- Settings: the Radial rings tab is gone, so ring orders are read from
`settings.json` with no in-app editor for now.
- Main window: the update entry in the header bar is gone; updates live in
Settings → Updates only.
- Release targets are macOS universal and Windows x64. ARM64 and Linux stay
buildable and are no longer published; `docs/RELEASE.md` records the decision.
Gates: cargo fmt --check clean, `cargo test --lib` 142 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 34 passed, `pnpm build` ok.
2026-10-25 19:06:46 +00:00
|
|
|
sha2 = "0.10"
|
|
|
|
|
hex = "0.4"
|
|
|
|
|
ed25519-dalek = { version = "3.0.0", default-features = false, features = ["alloc", "fast"] }
|
2026-10-21 00:54:54 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
|
windows-sys = { version = "0.59", features = [
|
|
|
|
|
"Win32_Foundation",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_Graphics_Gdi",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_System_Console",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_System_Com",
|
|
|
|
|
"Win32_System_LibraryLoader",
|
|
|
|
|
"Win32_System_Registry",
|
|
|
|
|
"Win32_System_SystemInformation",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_System_Threading",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_System_WindowsProgramming",
|
|
|
|
|
"Win32_Globalization",
|
|
|
|
|
"Win32_Security",
|
|
|
|
|
"Win32_Storage_FileSystem",
|
|
|
|
|
"Win32_UI_HiDpi",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
|
|
|
"Win32_UI_WindowsAndMessaging",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_UI_Shell",
|
|
|
|
|
"Win32_UI_Shell_Common",
|
2026-10-26 11:53:35 +00:00
|
|
|
"Win32_NetworkManagement_IpHelper",
|
|
|
|
|
"Win32_NetworkManagement_Ndis",
|
|
|
|
|
"Win32_Networking_WinSock",
|
2026-10-21 00:54:54 +00:00
|
|
|
] }
|
|
|
|
|
|
2026-11-07 04:43:06 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
|
objc2 = "0.6"
|
|
|
|
|
|
2026-10-21 00:54:54 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
libc = "0.2"
|
|
|
|
|
|
2026-10-25 04:24:05 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
flate2 = "1"
|
|
|
|
|
|
2026-10-21 00:54:54 +00:00
|
|
|
[profile.dev]
|
|
|
|
|
debug = 1
|
|
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
|
debug = false
|