Skip to content

Add windows app via tauri#221

Merged
BeardedBear merged 14 commits into
masterfrom
add-windows-app-via-tauri
May 14, 2026
Merged

Add windows app via tauri#221
BeardedBear merged 14 commits into
masterfrom
add-windows-app-via-tauri

Conversation

@BeardedBear

Copy link
Copy Markdown
Owner

No description provided.

- ShellExecuteW opens OAuth in system browser (avoids cmd.exe
  splitting & in query strings)
- beardify:// deep link receives Spotify callback; register_all()
  registers the scheme at startup so dev mode works without installer
- Windows thumbnail toolbar (prev/play-pause/next) via ITaskbarList3,
  subclassed WndProc keeps COM calls on the STA window thread
- isTauri() guard selects beardify:// redirect URI over localhost
  even in Vite dev mode
window.open(_blank) is a no-op in Tauri webviews. Route all
external URL opens through tauri-plugin-opener so they land
in the OS default browser instead of silently failing.
Network hiccup at startup leaves arrays empty forever — loader
spins with no recovery path. Auto-retry 3× (1 s, 2 s backoff)
before setting loadFailed; sidebar then shows a retry button
instead of an infinite spinner.
Shell blocks TaskbarButtonCreated/WM_COMMAND under UIPI —
ChangeWindowMessageFilterEx unblocks them. Added 2 s fallback
via PostMessage in case the message arrives before WndProc
is subclassed. Glyphs rendered from Segoe MDL2 Assets (no
image files needed) and cached on first use.
Segoe MDL2 glyphs 0xE993/0xE767 rendered as HICON.
setVolume now updates volume_percent optimistically so
rapid presses accumulate correctly instead of re-reading
the stale pre-call value.
`core:window:allow-set-title` was missing from capabilities so
`win.setTitle()` silently failed. Also replaced `watch` (unreliable
outside component context) with `$subscribe` for guaranteed reactivity
on store mutations.
vite-plugin-static-copy v4 on Windows preserves the full CWD path
instead of the glob base, copying flags to
dist/flags/node_modules/flag-icons/flags/4x3/*.svg instead of
dist/flags/*.svg — breaking flag display in Tauri production builds.
- useUpdater composable checks for updates 5s after mount (Tauri only)
- UpdateToast shows available/downloading/ready states bottom-right
- Config menu displays app version injected at build time via
  __APP_VERSION__
@BeardedBear BeardedBear merged commit 43fedb7 into master May 14, 2026
7 of 8 checks passed
@BeardedBear BeardedBear deleted the add-windows-app-via-tauri branch May 14, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant