Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Initialize tray menu on start
Ilyae15785d62864
diff --git a/apps/desktop/src/app/page.tsx b/apps/desktop/src/app/page.tsxindex bf9a9a9f2..36a08ef6a 100644--- a/apps/desktop/src/app/page.tsx+++ b/apps/desktop/src/app/page.tsx@@ -12,6 +12,7 @@ import { getVersion } from "@tauri-apps/api/app";import toast from "react-hot-toast";import { authFetch } from "@/utils/auth/helpers";import { commands } from "@/utils/commands";+import { setTrayMenu } from "@/utils/tray";export const dynamic = "force-static";@@ -67,6 +68,10 @@ export default function CameraPage() {return () => clearInterval(checkPermissions);}, [permissions]);+ useEffect(() => {+ setTrayMenu();+ });+useEffect(() => {const checkSession = setInterval(() => {const session = localStorage.getItem("session");