1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-27 07:45:03 +02:00
Nativefier/src/constants.ts
2021-03-10 20:25:33 -05:00

14 lines
424 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.1';
export const DEFAULT_CHROME_VERSION = '89.0.4389.82';
export const ELECTRON_MAJOR_VERSION = parseInt(
DEFAULT_ELECTRON_VERSION.split('.')[0],
10,
);
export const PLACEHOLDER_APP_DIR = path.join(__dirname, './../', 'app');