diff --git a/electron-builder.yml b/electron-builder.yml index f12cc71..9ea9467 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -13,7 +13,11 @@ asarUnpack: - resources/** win: executableName: bodyshop-desktop - + azureSignOptions: + endpoint: https://eus.codesigning.azure.net + certificateProfileName: ImEXRPS + codeSigningAccountName: ImEX + nsis: artifactName: ${name}-${version}-setup.${ext} shortcutName: ${productName} diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 1bb5c6f..8df06c3 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -4,7 +4,7 @@ import { User } from "firebase/auth"; import { useEffect, useState } from "react"; import { ErrorBoundary } from "react-error-boundary"; import { Provider } from "react-redux"; -import { BrowserRouter, Route, Routes } from "react-router"; +import { HashRouter, Route, Routes } from "react-router"; import ipcTypes from "../../util/ipcTypes"; import ErrorBoundaryFallback from "./components/ErrorBoundaryFallback/ErrorBoundaryFallback"; import Home from "./components/Home/Home"; @@ -37,7 +37,7 @@ const App: React.FC = () => { return ( - + {!user ? ( @@ -53,7 +53,7 @@ const App: React.FC = () => { )} - + ); };