From c662b30ddc4a5cdeff89326d942f5e91d3467bc6 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:04:00 +0200 Subject: [PATCH] add ms store manifest --- package.json | 6 ++++++ src/main.ts | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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) {