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 arguments don't work #167

Open
kra-mo opened this issue Feb 15, 2024 · 2 comments
Open

Command line arguments don't work #167

kra-mo opened this issue Feb 15, 2024 · 2 comments

Comments

@kra-mo
Copy link

kra-mo commented Feb 15, 2024

The wrapper script doesn't pass arguments to the executable and I haven't found a way to do so either. This makes it impossible to, for example, open a specific repository from the command line.

@kra-mo
Copy link
Author

kra-mo commented Feb 15, 2024

Okay, I have found that

flatpak run --env=ELECTRON_RUN_AS_NODE=1 --command=/app/github-desktop/github-desktop io.github.shiftey.Desktop /app/github-desktop/resources/app/cli.js

works but it is obviously not ideal :p

@kra-mo
Copy link
Author

kra-mo commented Feb 15, 2024

fatpak run --command=sh io.github.shiftey.Desktop /app/github-desktop/resources/app/static/github

also works but again, not ideal

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