Skip to content

Commit

Permalink
fix launch when no args
Browse files Browse the repository at this point in the history
  • Loading branch information
xan105 committed Jun 3, 2016
1 parent bdf72dc commit 996c9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.nw/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ else if ( $("#menu li:nth-child("+curPosition+")").children('#button7[gamepad="s
function launch(button_id){

var spawn = require("child_process").spawn
var args = [''];
var args = [null];

if (button_id == 0 ) {
file = nwDir+'\\FFX.exe';
Expand Down

0 comments on commit 996c9f1

Please # to comment.