Add an option to use local electron binaries
See original GitHub issueRight now electron-packager
can only be used with official releases (dowloaded with electron-download
). I would be interested in using it with locally built binaries (instead of specifying version
, we would specify binary-path
?).
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:38 (18 by maintainers)
Top Results From Across the Web
Advanced Installation Instructions | Electron
To install prebuilt Electron binaries, use npm. The preferred method is to install Electron as a development dependency in your app:
Read more >How can I bundle a precompiled binary with electron
I have placed my precompiled ffmpeg binary in node_modules/.bin/ . Everything works great in the dev panel, but when I use electron-packager to...
Read more >Packaging and distributing Electron applications using ...
To package an Electron application, we need to provide electron-builder a configuration that specifies the application name, icons, files to ...
Read more >Options | electron-packager
Functions to be called after the prebuilt Electron binary has been extracted to ... If omitted, it will use the version of the...
Read more >Common Configuration - electron-builder
If you want to use toml, please install yarn add toml --dev . Most of the options accept null — for example, to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Those that are Linux distribution package maintainers are unfortunately an extremely tiny percentage of consumers of this package. I maintain this package in my spare time, so I’m not currently willing to maintain a feature for so few users, especially if it depends on being able to have a source copy of Electron (& building it) available. I think that generating a zip file via the build scripts in the Electron repository is a reasonable tradeoff.
That being said, I have recently joined the GitHub Sponsors program, so I’m willing to maintain features that are needed by a smaller percentage of the userbase in return for monetary compensation.
Alternatively, I’m willing to accept a pull request for exactly what you’re looking for (with the appropriate documentation & tests that it only works with one specific Electron platform/arch combination), on the condition that the person submitting the request is willing to maintain the feature.
The feature is in pull request #1094.