Atom Update Test Server
This folder contains a simple implementation of Atom's update server to be used for testing the update process with local builds.
How to use it
-
Since you probably want to try upgrading an installed Atom release to a newer version, start your shell and set the
ATOM_RELEASE_VERSIONenvironment var to the desired version:Windows
set ATOM_RELEASE_VERSION="1.32.0-beta1"macOS
export ATOM_RELEASE_VERSION="1.32.0-beta1" -
Run a full build of Atom such that the necessary release artifacts are in the
outfolder:Windows
script/build --create-windows-installermacOS
script/build --compress-artifacts --test-sign -
Start up the server in this folder:
npm install npm startNOTE: You can customize the port by setting the
PORTenvironment variable. -
Start Atom from the command line with the
ATOM_UPDATE_URL_PREFIXenvironment variable set tohttp://localhost:3456(change this to reflect anyPORToverride you might have used) -
Open the About page and try to update Atom. The update server will write output to the console when requests are received.