mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-09-27 12:09:00 +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 {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 ELECTRON_VERSION = '0.36.4';
|
||||||
const DEFAULT_APP_NAME = 'APP';
|
const DEFAULT_APP_NAME = 'APP';
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ const DEFAULT_APP_NAME = 'APP';
|
|||||||
function optionsFactory(inpOptions, callback) {
|
function optionsFactory(inpOptions, callback) {
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
dir: TEMPLATE_APP_DIR,
|
dir: PLACEHOLDER_APP_DIR,
|
||||||
name: inpOptions.name,
|
name: inpOptions.name,
|
||||||
targetUrl: normalizeUrl(inpOptions.targetUrl),
|
targetUrl: normalizeUrl(inpOptions.targetUrl),
|
||||||
platform: inpOptions.platform || inferPlatform(),
|
platform: inpOptions.platform || inferPlatform(),
|
||||||
|
Loading…
Reference in New Issue
Block a user