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"