mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 10:38:55 +00:00
Cleanup
This commit is contained in:
parent
51acbaaa9c
commit
0abde3e865
@ -12,7 +12,7 @@ import inferOs from './infer/inferOs';
|
||||
|
||||
const {inferPlatform, inferArch} = inferOs;
|
||||
|
||||
const TEMPLATE_APP_DIR = path.join(__dirname, '../', 'app');
|
||||
const PLACEHOLDER_APP_DIR = path.join(__dirname, '../', 'app');
|
||||
const ELECTRON_VERSION = '0.36.4';
|
||||
const DEFAULT_APP_NAME = 'APP';
|
||||
|
||||
@ -30,13 +30,13 @@ const DEFAULT_APP_NAME = 'APP';
|
||||
function optionsFactory(inpOptions, callback) {
|
||||
|
||||
const options = {
|
||||
dir: TEMPLATE_APP_DIR,
|
||||
dir: PLACEHOLDER_APP_DIR,
|
||||
name: inpOptions.name,
|
||||
targetUrl: normalizeUrl(inpOptions.targetUrl),
|
||||
platform: inpOptions.platform || inferPlatform(),
|
||||
arch: inpOptions.arch || inferArch(),
|
||||
version: ELECTRON_VERSION,
|
||||
out: inpOptions.out|| process.cwd(),
|
||||
out: inpOptions.out || process.cwd(),
|
||||
overwrite: inpOptions.overwrite || false,
|
||||
asar: inpOptions.conceal || false,
|
||||
icon: inpOptions.icon,
|
||||
|
Loading…
Reference in New Issue
Block a user