(feat): migrate experimental tauri cef to electron
Some checks failed
/ build-web (push) Successful in 1m19s
/ build-desktop (linux) (push) Failing after 2m33s
/ release (push) Has been cancelled
/ build-mobile (push) Has been cancelled

(feat): add flake to expose tensamin desktop package
(qol): update todo
This commit is contained in:
Alois 2026-05-25 13:16:56 +02:00
commit a209ade10b
32 changed files with 1649 additions and 459 deletions

View file

@ -4,6 +4,7 @@ import {
RouterProvider,
createRootRoute,
createRoute,
createHashHistory,
createRouter,
} from "@tanstack/react-router";
@ -37,7 +38,7 @@ import { useEffect, useState, type ReactNode } from "react";
import Storage from "@tensamin/storage/context";
import Session from "@tensamin/storage/session";
import Crypto from "@tensamin/crypto/context";
import Mobile from "@tensamin/tauri/context";
import DesktopMediaProvider from "@tensamin/shared/desktopMedia";
import LegalWrapper from "@/features/legal/screen";
@ -126,9 +127,9 @@ function RootShell() {
<LoginWrapper>
<LegalWrapper>
<Crypto>
<Mobile>
<DesktopMediaProvider>
<Outlet />
</Mobile>
</DesktopMediaProvider>
</Crypto>
</LegalWrapper>
</LoginWrapper>
@ -271,6 +272,8 @@ const routeTree = rootRoute.addChildren([
const router = createRouter({
routeTree,
history:
window.location.protocol === "file:" ? createHashHistory() : undefined,
defaultNotFoundComponent: NotFound,
});