mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
22 lines
392 B
JavaScript
22 lines
392 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.NODE_ENV === 'development';
|
|
}
|