mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00: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';
|
|
}
|