Fix index increment
This commit is contained in:
parent
6d2ad5ae58
commit
dbb4e21684
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ if (packageJson.desktopName != null) {
|
||||||
// Chrome 42 disables NPAPI plugins by default, reenable them here
|
// Chrome 42 disables NPAPI plugins by default, reenable them here
|
||||||
app.commandLine.appendSwitch('enable-npapi');
|
app.commandLine.appendSwitch('enable-npapi');
|
||||||
|
|
||||||
// Add othercommand line switches
|
// Add other command line switches
|
||||||
if (packageJson.commandLineSwitches) {
|
if (packageJson.commandLineSwitches) {
|
||||||
for (let i = 0; i < packageJson.commandLineSwitches.length; ++i) {
|
for (let i = 0; i < packageJson.commandLineSwitches.length; i++) {
|
||||||
const option = packageJson.commandLineSwitches[i];
|
const option = packageJson.commandLineSwitches[i];
|
||||||
|
|
||||||
if (typeof option === 'string') {
|
if (typeof option === 'string') {
|
||||||
|
|
Loading…
Reference in a new issue