I've been building tuna-dlp, a small Windows GUI for yt-dlp and ffmpeg, with Tauri 2 and Svelte 5. It's open source (MIT) and I ran into a few Windows-specific things that might save someone a few hours:
Bundling big external binaries inside the .exe
yt-dlp + ffmpeg + ffprobe are ~230 MB. build.rs compresses them into a single zstd stream (long-distance matching + a 128 MB window, since ffmpeg and ffprobe share most of their code) and the app includes it with include_bytes! and extracts it on first run. Result: one 52 MB installer, nothing else to install.
2. Drag & drop of links from the browser
Tauri's drag & drop handler on Windows only understands files, so links dragged from the browser never reached the page (and my "drop it here" overlay got stuck). Calling disable_drag_drop_handler() lets WebView2 handle it, and the page gets normal dragover/drop events with text/uri-list.
3. A custom tray menu that doesn't fight Windows
The native tray menu can't be styled, so mine is a small borderless window. The catch: if it takes focus, Windows closes the hidden-icons flyout under it. Making it non-focusable (.focusable(false) → WS_EX_NOACTIVATE) and closing it "by hand" (click outside, Esc, or when the flyout goes away) fixed it.
4. Taskbar progress colour
On Windows 11 the native progress bar uses the system accent colour, which was grey on my machine. I draw my own green/yellow/red bar on the window icon with set_icon instead.
5. Spawning yt-dlp safely
No console windows (CREATE_NO_WINDOW), arguments as an array (never through a shell), stdin to null, and forcing UTF-8 so titles with "…" or curly quotes don't crash.
Repo: https://github.com/atunfrito/tuna-dlp
Happy to answer questions or hear how you'd have done any of this differently.