Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Repository files navigation

Pixtron

Pixtron is a (very) simple update server for electron-updater.

Installation

# clone the repository
$ git clone https://github.com/ShuttleBrowser/pixtron.git
# change the working directory to pixtron
$ cd pixtron
# install the requirements
$ npm i
# start pixtron
$ npm start

Upload releases

Copy the generated files by electron-builder in releases/latest/<platform>,

or

In config.json, add a password and a repository. Change the names of the files. Once it's done, go to:

update.your-super-server.com/upload/<the release tag>/<your password (in config file)>

config.json :

{
"releases": [
{
"platform": "win32",
"files": [
"latest.yml",
"MySuperApp-Windows.exe",
"MySuperApp-Windows.exe.blockmap"
]
},
{
"platform": "linux",
"files": [
"latest-linux.yml",
"MySuperApp-Linux-x86_64.AppImage"
]
},
{
"platform": "mac",
"files": [
"latest-mac.yml",
"MySuperApp-MacOS.dmg",
"MySuperApp-MacOS.dmg.blockmap"
]
}
],
"githubRepo": "MyRepo/MySuperApp",
"password": "mySuperPassword"
}

Use in electron

Read the electron-updater documentation here.

autoUpdater.setFeedURL({provider: 'generic',url: `http://your-update-server/update/latest/${process.platform}/`})

About

A (very) simple update server for electron-updater

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages