Skip to content

fix: allow run when electron flags set #2079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

zbinlin
Copy link

@zbinlin zbinlin commented Apr 26, 2025

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..

zbinlin added 2 commits April 26, 2025 14:47
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.`.
@davidjgraph
Copy link
Contributor

Thanks, I just want to test if 6039288 is the problem first.

@davidjgraph
Copy link
Contributor

The issue is this breaking change in commander 13.0.0, tj/commander.js#2223. We'll disable excessive args checking for now and see whether your fix is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants