From 05866946a3ea11bb8e19bbc28338d5643c5ec2f2 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Thu, 18 Jan 2024 12:52:06 +0100 Subject: [PATCH] do rebuild before packing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 987577c..e77be14 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "start": "sirv public --no-clear", "electron": "wait-on http://localhost:8080 && electron .", "electron-dev": "concurrently \"yarn run dev\" \"yarn run electron\"", - "preelectron-pack": "yarn run build", + "preelectron-pack": "electron-rebuild && yarn run build", "electron-pack": "electron-builder", "postinstall": "electron-builder install-app-deps", "check": "svelte-check --tsconfig ./tsconfig.json"