1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-27 07:45:03 +02:00
Nativefier/src/constants.ts
Ronan Jouchet 10f7fed290 Revert default Electron back to 11.1.1 (Chrome 87.0.4280.88) (fix #1101)
Not doing anything more complicated (adding macOS-specific code
or adding code always passing an icon), let's instead wait for
Electron to fix the issue.
2021-01-18 09:18:43 -05:00

14 lines
372 B
TypeScript

import * as path from 'path';
export const DEFAULT_APP_NAME = 'APP';
// Update both together
export const DEFAULT_ELECTRON_VERSION = '11.1.1';
export const DEFAULT_CHROME_VERSION = '87.0.4280.88';
export const ELECTRON_MAJOR_VERSION = parseInt(
DEFAULT_ELECTRON_VERSION.split('.')[0],
10,
);
export const PLACEHOLDER_APP_DIR = path.join(__dirname, './../', 'app');