Build fails with an error for me (sorry some texts are in Dutch because I have my system setup as NL language):
==> Bezig met het uitvoeren van prepare()...
build/main.js 299ms
build/preload.js 45ms
build/renderer.js 28ms
build/service-worker.js 1ms
build/titlebar.js 16ms
Applying patch remove-kernel-version-from-user-agent.patch...
patching file build/main.js
patching file build/preload.js
patching file build/renderer.js
patching file build/titlebar.js
Applying patch avoid-change-default-texthtml-mime-type.patch...
patching file build/main.js
Hunk #1 FAILED at 2897.
1 out of 1 hunk FAILED -- saving rejects to file build/main.js.rej
==> FOUT: Er is een fout opgetreden in prepare().
Afbreken...
I see that the file which the above message about rejects refers to sits in "src/resources/app/build/" and contains the following content:
--- build/main.js
+++ build/main.js
@@ -2897,12 +2897,7 @@
this.tray.init(),
this.updater.init(),
this.network.watch(),
- this.powerSave.check(),
- this.deepLink.getSchemes().forEach((scheme) => {
- external_electron_namespaceObject.app.setAsDefaultProtocolClient(
- scheme
- );
- });
+ this.powerSave.check();
const dzrFilter = { urls: ["*://*/*"] },
DOMAINS_WHITELIST = [
"deezer.com",
Pinned Comments
SibrenVasse commented on 2024-01-17 12:02 (UTC) (edited on 2024-01-17 12:02 (UTC) by SibrenVasse)
If you're having issues building the package, make sure the prettier package is up-to-date on your system.
Current version is prettier 3.2.2