Awesome
reUpdater
An open source alternative to/replacement of Discord's Rust-programmed updater.node
.
For questions read faq.md
.
For support join: https://discord.gg/SP4syJnFqg
License notice
Before/On v1.0.1, the license of this project used is the MIT license. However, the subsequent versions after v1.0.1 will be in MPL license. If you use anything after v1.0.1, please open source your version of reUpdater, or if you did not make any changes, please mention that you use reUpdater in your project/modification.
Status
It's now stable in terms of usability.
Note: v1.x.x is now in maintenance mode as development shifted to v2.x.x, there will be no new features added in v1.x.x.
For people who implement custom update server API.
X-Content-Length
is to bypass a weird issue in Express.js/Node.js where setting Content-Length
does not even set. For best results please set both.
Usage
For normal users
- Download
release.zip
. - Go to
discordDir/app-latest.version.here/
, delete (or rename) theupdater.node
file and create a folder namedupdater
. - Extract the files inside.
- If you have any
was compiled against a different Node.js version
problems please find the Electron version used and run./node_modules/.bin/electron-rebuild -v (electron version here)
from theupdater
folder.
For people who want to try out HEAD changes
- Download the latest source build.
- Extract and run
npm i
inside. - Run
./node_modules/.bin/electron-rebuild -v (electron version here)
- Run
npm run build
. - Go to
discordDir/app-latest.version.here/
, delete (or rename) theupdater.node
file and create a folder namedupdater
. - Copy
dist
,node_modules
andpackage.json
inside.
For developers
- Download the latest source build.
- Extract and run
npm i
inside. - Run
./node_modules/.bin/electron-rebuild -v (electron version here)
- Run
npm run dev
. - Go to
discordDir/app-latest.version.here/
, delete (or rename) theupdater.node
file and create a folder namedupdater
. - Copy
dist
,node_modules
andpackage.json
inside.
Alternatively you can package this with a repacker and setup your own update environment via Wumpdle. (recommended method if you want to test)