Commit a88d4a48 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #380: regression: the arg parser in the nwjs "open" event callback got broken

This was a consequence of implementing the "-unique" flag. It
required adding a "data-dir" flag to the command line which
through off the _very_ brittle arg parser in the "open" event
parent ac235f2b
......@@ -313,7 +313,7 @@ function add_events() {
argv_string = argv_string.slice(0, -pd_engine_id.length).trim();
// strip off the gui dir
argv_string = argv_string.slice(0,
if (process.platform === "win32") {
// windows quotes this string, so let's remove the two
// quotation marks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment