Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app deep link auth

Louis Beaumont5bc0af199aba
diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockb
index 7342a1809..a1c6568e2 100755
Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differ
diff --git a/screenpipe-app-tauri/components/settings/account-section.tsx b/screenpipe-app-tauri/components/settings/account-section.tsx
index 97a4af645..dd9ce72c6 100644
--- a/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -179,14 +179,26 @@ export function AccountSection() {
<div className="w-full space-y-6 py-4">
<div className="flex items-center justify-between">
<h1 className="text-2xl font-bold">account settings</h1>
- <Button
- variant="outline"
- size="sm"
- onClick={() => openUrl("https://screenpi.pe/login")}
- className="hover:bg-secondary/80"
- >
- manage account <ExternalLinkIcon className="w-4 h-4 ml-2" />
- </Button>
+ <div className="flex gap-2">
+ {settings.user?.token && (
+ <Button
+ variant="outline"
+ size="sm"
+ onClick={() => openUrl("https://accounts.screenpi.pe/user")}
+ className="hover:bg-secondary/80"
+ >
+ manage account <UserCog className="w-4 h-4 ml-2" />
+ </Button>
+ )}
+ <Button
+ variant="outline"
+ size="sm"
+ onClick={() => openUrl("https://screenpi.pe/login")}
+ className="hover:bg-secondary/80"
+ >
+ login <ExternalLinkIcon className="w-4 h-4 ml-2" />
+ </Button>
+ </div>
</div>
<div className="space-y-8">
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index dd47e94f7..f7dcca5c5 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.21.2"
+version = "0.21.3"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs
index 0419b61f2..ae88827cc 100755
--- a/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -54,7 +54,7 @@ pub use sidecar::spawn_screenpipe;
pub use permissions::do_permissions_check;
pub use permissions::open_permission_settings;
pub use permissions::request_permission;
-
+use tauri_plugin_deep_link::DeepLinkExt;
pub struct SidecarState(Arc<tokio::sync::Mutex<Option<SidecarManager>>>);
async fn get_pipe_port(pipe_id: &str) -> anyhow::Result<u16> {