drawio-desktop
drawio-desktop copied to clipboard
fix: allow run when electron flags set
Fixes an issue where running electron35 --high-dpi-support=1 --force-device-scale-factor=2 /usr/lib/drawio-desktop/app.asar causes the error: error: too many arguments. Expected 1 argument but got 2..
Thanks, I just want to test if https://github.com/jgraph/drawio-desktop/commit/60392883c5f812bde009d26b20ac5186149f66a7 is the problem first.
The issue is this breaking change in commander 13.0.0, https://github.com/tj/commander.js/pull/2223. We'll disable excessive args checking for now and see whether your fix is better.