SIGN IN SIGN UP
tw93 / Pake UNCLAIMED

🤱🏻 Turn any webpage into a desktop app with one command.

0 0 42 Rust

refactor: eliminate remaining panics and narrow platform types

- bin/types.ts: replace untyped PlatformMap with SupportedPlatform / TauriPlatform
- bin/helpers/merge.ts: narrow three platform maps to Record<SupportedPlatform, T>; assert supported platform at entry; guard linux/windows bundle with explicit errors
- bin/options/index.ts: inline the regex mapping now that PlatformMap is gone
- src-tauri/src/app/window.rs: swap Mutex<u32> for AtomicU32; harden web-url parse with map_err returning tauri::Error::Io
- src-tauri/src/app/setup.rs: downgrade tray icon panics to graceful fallback when no icon resolves
T
Tw93 committed
6efe733b683c25f15647861aeb1f9caaa00cec07
Parent: de1f898