do rebuild before packing

This commit is contained in:
HorizonCode 2024-01-18 12:52:06 +01:00
parent 0fc9cb828b
commit 05866946a3

View File

@ -32,7 +32,7 @@
"start": "sirv public --no-clear", "start": "sirv public --no-clear",
"electron": "wait-on http://localhost:8080 && electron .", "electron": "wait-on http://localhost:8080 && electron .",
"electron-dev": "concurrently \"yarn run dev\" \"yarn run 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", "electron-pack": "electron-builder",
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"check": "svelte-check --tsconfig ./tsconfig.json" "check": "svelte-check --tsconfig ./tsconfig.json"