Add WIN code signing

This commit is contained in:
Patrick Fic
2025-03-24 14:17:40 -07:00
parent 1082b48f32
commit 6b1876b0f4
2 changed files with 8 additions and 4 deletions

View File

@@ -13,7 +13,11 @@ asarUnpack:
- resources/** - resources/**
win: win:
executableName: bodyshop-desktop executableName: bodyshop-desktop
azureSignOptions:
endpoint: https://eus.codesigning.azure.net
certificateProfileName: ImEXRPS
codeSigningAccountName: ImEX
nsis: nsis:
artifactName: ${name}-${version}-setup.${ext} artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName} shortcutName: ${productName}

View File

@@ -4,7 +4,7 @@ import { User } from "firebase/auth";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import { ErrorBoundary } from "react-error-boundary"; import { ErrorBoundary } from "react-error-boundary";
import { Provider } from "react-redux"; 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 ipcTypes from "../../util/ipcTypes";
import ErrorBoundaryFallback from "./components/ErrorBoundaryFallback/ErrorBoundaryFallback"; import ErrorBoundaryFallback from "./components/ErrorBoundaryFallback/ErrorBoundaryFallback";
import Home from "./components/Home/Home"; import Home from "./components/Home/Home";
@@ -37,7 +37,7 @@ const App: React.FC = () => {
return ( return (
<Provider store={reduxStore}> <Provider store={reduxStore}>
<BrowserRouter> <HashRouter>
<ErrorBoundary FallbackComponent={ErrorBoundaryFallback}> <ErrorBoundary FallbackComponent={ErrorBoundaryFallback}>
<Layout> <Layout>
{!user ? ( {!user ? (
@@ -53,7 +53,7 @@ const App: React.FC = () => {
)} )}
</Layout> </Layout>
</ErrorBoundary> </ErrorBoundary>
</BrowserRouter> </HashRouter>
</Provider> </Provider>
); );
}; };