cu3po42 / electron-gh-releases-updater Goto Github PK
View Code? Open in Web Editor NEWUpdate Electron apps with data from GH releases. Cross platform, no signing required.
Update Electron apps with data from GH releases. Cross platform, no signing required.
Provide events that fire with percentages of the download so that a progress bar can be displayed client side.
Right now only the first page of releases are scanned, which should be 30 or so. If that isn't enough, scan more!
Right now the first file ending with update-any.zip
is considered the update file. Add an option to pass in a custom RegEx or maybe even a function to check if any given file is the update file.
This will probably require the use of a different zip library.
Add an option to return changelogs and optionally accumulate them from the currently installed release onwards.
Assuming semver, maybe just updating to a higher patch or minor release should be possible, even if there is a new major release?
There should be the possibility for a server to tell the app which version to update to avoid downloading incompatible updates.
PowerShell is used to unpack ZIP files on Windows, this is not available on all Windows 7 installations.
Figure out a way to run scripts post-update just once.
The node-unzip
module would crash for some zip files, so I replaced it. However now all files are loaded completely into memory.
It should be worth considering moving to .tar or another archive format that has a module with proper streaming support.
Instead of 'just' moving files, the behavior of the shell command mv
has to be implemented. If the files are on the same device, relink them, otherwise copy and delete.
DUH!
Currently having an app
folder and updating to an app.asar
or the other way round is going to break without a full update.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.