Add windows app via tauri#221
Merged
Merged
Conversation
- 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__
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.