commit
Fix unresolved merge-conflict markers in desktop.ts
73876c7 committed web/client/src/desktop.ts with the stash-pop conflict markers still in it (empty upstream side vs the Last.fm native-connect helpers). Keep the helpers, drop the markers — everything typechecks and bundles again. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HsatRFz8FxXMiLp3D96bmp
diff --git a/web/client/src/desktop.ts b/web/client/src/desktop.ts
index 7cefbd1..07e3d3f 100644
--- a/web/client/src/desktop.ts
+++ b/web/client/src/desktop.ts
@@ -72,8 +72,6 @@ export function openExternal(url: string): boolean {
return true;
}
-<<<<<<< Updated upstream
-=======
// Last.fm connect on desktop runs entirely in the system browser (same reason
// as SSO — no passkeys / wrong cookie jar in the webview). It returns via
// doughmination://lastfm/callback?token=… which initDesktopAuth catches and
@@ -92,7 +90,6 @@ export function startDesktopLastfmConnect(connectUrl: string): boolean {
return true;
}
->>>>>>> Stashed changes
// True once a token is stored — lets the UI skip a re-auth on boot.
export function hasDesktopToken(): boolean {
try {