Skip to content

Commit 59f517a

Browse files
committed
feat: show desktop deep link fallback
1 parent 650f21c commit 59f517a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

apps/client/src/components/lookout/LookoutRecorder.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,8 @@ export default function LookoutRecorder() {
602602
}
603603

604604
if (desktopLaunched && config) {
605+
const deepLink = `lookout://session?token=${config.lookoutToken}`;
606+
605607
return (
606608
<RootLayout showHeader={false}>
607609
<div className="flex w-screen h-screen items-center justify-center p-8">
@@ -622,6 +624,12 @@ export default function LookoutRecorder() {
622624
>
623625
Get Lookout
624626
</a>
627+
<p className="text-sm text-muted break-all">
628+
Lookout opening but not working? Try entering this deep link{" "}
629+
<a href={deepLink} className="text-red hover:underline">
630+
{deepLink}
631+
</a>
632+
</p>
625633
<button
626634
onClick={() => setDesktopLaunched(false)}
627635
className="w-full border border-slate hover:bg-darkless font-bold py-3 px-6 rounded-lg transition-colors cursor-pointer"

0 commit comments

Comments
 (0)