Skip to content

electrode-io/electrode-ota-desktop

Repository files navigation

Electrode OTA Desktop

A GUI for the code-push command line.

Download the latest here

NewToken.png install

To Login enter the host running the codepush management server or https://codepush-management.azurewebsites.net to use microsoft's code-push management server.

Login.png GettingStarted.png NewAppSuccess.png NewDeployment.png NewDeployment1.png Releases.png Collaborate.png AddKey.png NewKey.png

Development

The Electrode OTA Desktop is an electron app. Most of the UI code is in electrode-ota-ui. Due to various technical and time constraints both need to be installed for this to work correctly.

First you need node/npm install >6.5.0 node from https://nodejs.org/en/

$ mkdir electrode-ota
$ cd electrode-ota
$ git clone https://github.com/electrode-io/electrode-ota-server
$ ln -s electrode-ota-server/electrode-ota-ui electrode-ota-ui
$ git clone https://github.com/electrode-io/electrode-ota-desktop
$ cd electrode-ota-ui
$ npm install
$ cd ../../electrode-ota-desktop
$ npm install
$ npm run distro
$ #To test the app
$ open dist/mac/ElectrodeOTA.app
$ #To test the dmg
$ open dist/mac/ElectrodeOTA-{version}.dmg

To debug/develop

To develop, it runs a webpack-dev-server in the background, for hmr. However app/browser/main is not webpacked or transpiled, its plain old javascript. But all the ui is there under ../electrode-ota-ui so have fun, and send PR's.

$ npm run hot

This project uses electron-builder to buid the dmg and .app. To add an app signature there are some tools see and for more details