mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-09 08:30:15 +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 ipc = electron.ipcMain;
|
||||
|
||||
const APP_ARGS_FILE_PATH = __dirname + '/targetUrl.txt';
|
||||
const APP_ARGS_FILE_PATH = __dirname + '/nativefier.json';
|
||||
require('crash-reporter').start();
|
||||
|
||||
var mainWindow = null;
|
||||
|
@ -83,7 +83,7 @@ function copyPlaceholderApp(srcAppDir, tempDir, name, targetURL, badge, width, h
|
||||
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);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user