BlueSky & more on desktop lazurite.stormlightlabs.org/
tauri rust typescript bluesky appview atproto solid
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 19 lines 515 B view raw
1/* @refresh reload */ 2import { getCurrentWindow } from "@tauri-apps/api/window"; 3import * as logger from "@tauri-apps/plugin-log"; 4import { render } from "solid-js/web"; 5import App from "./App"; 6 7applyInitialRoute(); 8 9render(() => <App />, document.getElementById("root") as HTMLElement); 10 11function applyInitialRoute() { 12 try { 13 if (getCurrentWindow().label === "composer") { 14 globalThis.history.replaceState(null, "", "#/composer"); 15 } 16 } catch { 17 logger.debug("Failed to get window label"); 18 } 19}