mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Fix bug in default argument for targetUrl
This commit is contained in:
parent
3b02889435
commit
549427c8ac
@ -10,7 +10,7 @@ const ELECTRON_VERSION = '0.36.4';
|
||||
const DEFAULT_APP_NAME = 'My App';
|
||||
|
||||
function optionsFactory(name,
|
||||
targetUrl = 'http://google.com',
|
||||
targetUrl,
|
||||
platform = detectPlatform(),
|
||||
arch = detectArch(),
|
||||
version = ELECTRON_VERSION,
|
||||
@ -47,7 +47,7 @@ function optionsFactory(name,
|
||||
badge: badge,
|
||||
width: width,
|
||||
height: height
|
||||
}
|
||||
};
|
||||
|
||||
if (name && name.length > 0) {
|
||||
options.name = name;
|
||||
|
Loading…
Reference in New Issue
Block a user