mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-24 07:38:36 +00:00
Change name for config file to nativefier.json
This commit is contained in:
parent
1f31d06a85
commit
d2733c4cb0
@ -9,7 +9,7 @@ var app = electron.app;
|
|||||||
var BrowserWindow = electron.BrowserWindow;
|
var BrowserWindow = electron.BrowserWindow;
|
||||||
var ipc = electron.ipcMain;
|
var ipc = electron.ipcMain;
|
||||||
|
|
||||||
const APP_ARGS_FILE_PATH = __dirname + '/targetUrl.txt';
|
const APP_ARGS_FILE_PATH = __dirname + '/nativefier.json';
|
||||||
require('crash-reporter').start();
|
require('crash-reporter').start();
|
||||||
|
|
||||||
var mainWindow = null;
|
var mainWindow = null;
|
||||||
|
@ -83,7 +83,7 @@ function copyPlaceholderApp(srcAppDir, tempDir, name, targetURL, badge, width, h
|
|||||||
showDevTools: showDevTools
|
showDevTools: showDevTools
|
||||||
};
|
};
|
||||||
|
|
||||||
fs.writeFileSync(path.join(tempDir, '/targetUrl.txt'), JSON.stringify(appArgs));
|
fs.writeFileSync(path.join(tempDir, '/nativefier.json'), JSON.stringify(appArgs));
|
||||||
callback(null, tempDir);
|
callback(null, tempDir);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user