desktop: fix Electron failed to install correctly error

This commit is contained in:
Abdullah Atta
2024-11-15 12:22:26 +05:00
parent 008ce9222e
commit d985683c0f

View File

@@ -55,6 +55,8 @@ async function onChange(first) {
if (first) {
await fs.rm("./build/", { force: true, recursive: true });
await exec("npm rebuild electron --verbose --foreground-scripts");
await exec("yarn electron-builder install-app-deps");
}