1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-26 07:38:59 +02:00
Nativefier/src/constants.ts
2021-04-28 22:05:17 -04:00

14 lines
425 B
TypeScript

import * as path from 'path';
export const DEFAULT_APP_NAME = 'APP';
// Update both together, and update app / package.json / devDeps / electron
export const DEFAULT_ELECTRON_VERSION = '12.0.5';
export const DEFAULT_CHROME_VERSION = '89.0.4389.128';
export const ELECTRON_MAJOR_VERSION = parseInt(
DEFAULT_ELECTRON_VERSION.split('.')[0],
10,
);
export const PLACEHOLDER_APP_DIR = path.join(__dirname, './../', 'app');