Closed lehtoroni closed 1 month ago
This issue happens because of a recklessly chosen behaviour on bundle deletion:
process.noAsar = true;
await fsp.rm(bundlePath, { recursive: true, force: true });
process.noAsar = false;
Thus, if the removal fails for any reason, process.noAsar
will never be set back to false, and the app will not load any previously unloaded modules correctly.
Should be fixed in 1.10.8.
Purging of redundant update bundles fails due to temporarily disabling asar support, if required modules haven't been loaded yet, or if other actions are being run at the same time.