Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

alpha.22

Brendan Allan865bece2ae6f
diff --git a/Cargo.lock b/Cargo.lock
index ff50d78d3..10e153739 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1406,7 +1406,7 @@ dependencies = [
[[package]]
name = "desktop"
-version = "0.3.0-alpha.21"
+version = "0.3.0-alpha.22"
dependencies = [
"anyhow",
"axum",
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index b1baa9888..8a3413fd9 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "desktop"
-version = "0.3.0-alpha.21"
+version = "0.3.0-alpha.22"
description = "Effortless, instant screen sharing. Open source and cross-platform."
authors = ["you"]
edition = "2021"
diff --git a/apps/desktop/src/routes/(main)/index.tsx b/apps/desktop/src/routes/(main)/index.tsx
index 6724e98ae..2f70e2bcd 100644
--- a/apps/desktop/src/routes/(main)/index.tsx
+++ b/apps/desktop/src/routes/(main)/index.tsx
@@ -65,9 +65,6 @@ export default function () {
},
}));
- // important for redirect, trust me
- createAsync(() => getAuth());
-
createEventListener(window, "mousedown", (e: MouseEvent) => {
if (windowSelectOpen()) {
const target = e.target as HTMLElement;
@@ -77,6 +74,9 @@ export default function () {
}
});
+ // important for sign in redirect, trust me
+ createAsync(() => getAuth());
+
createUpdateCheck();
return (