Skip to content
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

command-line switches: fullscreen mode and resolution #69

Open
MaximilianMrkwrt opened this issue May 2, 2020 · 0 comments
Open

command-line switches: fullscreen mode and resolution #69

MaximilianMrkwrt opened this issue May 2, 2020 · 0 comments

Comments

@MaximilianMrkwrt
Copy link

Apparently there are two program args at the moment: user-data path and path of cec-client. It would be nice to have additionally command-line switches for

  • fullscreen mode and
  • resolution.

Use-case
I start Emby with xinit on a desktopless linux on startup. The default resolution is 720x480px. It would be nice to start Emby per one-liner, rather than by editing ~/.config/Electron/windowstate.json.

Also parsing double hyphen options like

electron main.js --fullscreen

would be nice (for example with the help of the yargs package).

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

No branches or pull requests

1 participant