mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 06:37:36 -04:00
22 lines
396 B
JavaScript
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';
|
|
}
|