mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
parent
a70433959b
commit
f262252ade
@ -4,6 +4,7 @@
|
|||||||
"description": "Placeholder for the nativefier cli to override with a target url",
|
"description": "Placeholder for the nativefier cli to override with a target url",
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"electron-dl": "^1.1.0",
|
||||||
"electron-window-state": "^3.0.3",
|
"electron-window-state": "^3.0.3",
|
||||||
"source-map-support": "^0.4.0",
|
"source-map-support": "^0.4.0",
|
||||||
"wurl": "^2.1.0"
|
"wurl": "^2.1.0"
|
||||||
|
@ -6,9 +6,12 @@ import createLoginWindow from './components/login/loginWindow';
|
|||||||
import createMainWindow from './components/mainWindow/mainWindow';
|
import createMainWindow from './components/mainWindow/mainWindow';
|
||||||
import helpers from './helpers/helpers';
|
import helpers from './helpers/helpers';
|
||||||
import inferFlash from './helpers/inferFlash';
|
import inferFlash from './helpers/inferFlash';
|
||||||
|
import electronDownload from 'electron-dl';
|
||||||
|
|
||||||
const {isOSX} = helpers;
|
const {isOSX} = helpers;
|
||||||
|
|
||||||
|
electronDownload();
|
||||||
|
|
||||||
const APP_ARGS_FILE_PATH = path.join(__dirname, '..', 'nativefier.json');
|
const APP_ARGS_FILE_PATH = path.join(__dirname, '..', 'nativefier.json');
|
||||||
const appArgs = JSON.parse(fs.readFileSync(APP_ARGS_FILE_PATH, 'utf8'));
|
const appArgs = JSON.parse(fs.readFileSync(APP_ARGS_FILE_PATH, 'utf8'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user