Help Menu changes
This commit is contained in:

committed by
Scott Nonnenberg

parent
205ee6c6ac
commit
b842b69660
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user