Help Menu changes

This commit is contained in:
Ken Powers
2020-06-10 12:56:10 -04:00
committed by Scott Nonnenberg
parent 205ee6c6ac
commit b842b69660
10 changed files with 91 additions and 16 deletions

View File

@@ -4,9 +4,9 @@ const fs = require('fs');
const _ = require('lodash');
const packageJson = require('./package.json');
const { isBeta } = require('./app/version');
const { version } = packageJson;
const beta = /beta/;
// You might be wondering why this file is necessary. It comes down to our desire to allow
// side-by-side installation of production and beta builds. Electron-Builder uses
@@ -14,7 +14,7 @@ const beta = /beta/;
// debian package name, the install directory under /opt on linux, etc. We tried
// adding the ${channel} macro to these values, but Electron-Builder didn't like that.
if (!beta.test(version)) {
if (!isBeta(version)) {
process.exit();
}