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