Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable auto-update for RPM and DEB? #8838

Open
rathboma opened this issue Feb 3, 2025 · 1 comment
Open

How to disable auto-update for RPM and DEB? #8838

rathboma opened this issue Feb 3, 2025 · 1 comment

Comments

@rathboma
Copy link

rathboma commented Feb 3, 2025

Hey all,

I'd like to disable auto-update for RPM and DEB builds, and rely on my own purpose built apt/yum repos.

Is there an easy way to do this using the electron-builder config file?

Currently I'm doing a check at runtime, but I'd way prefer to disable it at build time if possible.

Thanks for any help!

@mmaietta
Copy link
Collaborator

mmaietta commented Feb 3, 2025

The assets are automatically generated, any it should be possible to deactivate it in a few manners, but there's no config property for it specifically.

Easiest route, use afterPack hook and just delete the app-update.yml from linux-unpacked/resources directory.

How are you doing it at runtime? (Purely curious)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants