diff --git a/package.json b/package.json index f9eea5b..a90ccc9 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,12 @@ "rpm", "AppImage" ] + }, + "appx": { + "identityName": "53758smartfrigde.ArmCord", + "publisher": "CN=EAB3A6D3-7145-4623-8176-D579F573F339", + "publisherDisplayName": "smartfrigde", + "applicationId": "smartfrigde.ArmCord" } }, "packageManager": "pnpm@8.10.2" diff --git a/src/main.ts b/src/main.ts index a0ad99f..9f2f9d0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ import {createKeybindWindow} from "./keybindMaker/main"; export let iconPath: string; export let settings: any; export let customTitlebar: boolean; -checkIfConfigIsBroken(); + app.on("render-process-gone", (event, webContents, details) => { if (details.reason == "crashed") { app.relaunch(); @@ -80,6 +80,7 @@ if (!app.requestSingleInstanceLock() && getConfigSync("multiInstance") == (false ); checkForDataFolder(); checkIfConfigExists(); + checkIfConfigIsBroken(); injectElectronFlags(); app.whenReady().then(async () => { if ((await getConfig("customIcon")) !== undefined ?? null) {