insomnia/app/lib/appInfo.js
Gregory Schier 9291c24463 Lots
2016-08-17 15:44:03 -07:00

22 lines
396 B
JavaScript

import * as appJson from '../app.json';
export function getAppVersion () {
return appJson.version;
}
export function getAppLongName () {
return appJson.longName;
}
export function getAppName () {
return appJson.productName;
}
export function isMac () {
return process.platform === 'darwin';
}
export function isDevelopment () {
return process.env.INSOMNIA_ENV === 'development';
}