Can't find a way to programatically toggle/modify a chromium-args.
Editing package.json works, but only if the app is not packaged. Once it's packaged it's impossible to edit this file.
I think this is isn't possible, and probably never will... but I ask anyways. Do you know how I could achieve that?
I think for this to work, nodewebkit should allow execution of a node script that sets some configuration params (probably extending package.json configs) before launching webkit, allowing to read a config file and act accordingly.
--
Another solution for me could be to pass through chromium-args from app argv, allowing end users to enable/disable advanced features (just like chrome does)
Example:
nodewebkit path/to/my/app/ --chromium-args="--arg1 --arg2 --etc"
--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
chromium-args is not a window subfield.--
You received this message because you are subscribed to a topic in the Google Groups "node-webkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-webkit/73eLCp-TvmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-webkit...@googlegroups.com.
Hi Laszlo,According to the documentation "All window subfields in Manifest format can be used. ", butchromium-argsis not a window subfield.Iván Todorovich
I know about chromium command options, but they don't apply for node-webkit, without specifically setting them in the package.json..
No, I did not.
Hey Ivan
Did you find a solution to this?
--
You received this message because you are subscribed to a topic in the Google Groups "nw.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nwjs-general/73eLCp-TvmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nwjs-general...@googlegroups.com.