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

Better injector handling on Linux #602

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

Conversation

oatmealine
Copy link

Currently, if a user is using a non-standard Discord install location, they will have to enter it each time they inject and uninject Powercord. This PR will fix this by creating an .installdir file and using that if possible.
Additionally, the script will fail if the user uses doas (and doesn't have a sudo shim or similar). It will now instead check for both, then fail gracefully if neither are found.

only elevate perms if necessary, as well as an explicit message about the elevation

support doas and fire a proper error message if sudo/doas arent found
Copy link
Contributor

@asportnoy asportnoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a rebase

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.

None yet

2 participants