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

Memorize install directory on Linux #154

Merged
merged 3 commits into from
Aug 26, 2022
Merged

Conversation

oatmealine
Copy link
Contributor

Port of powercord-org/powercord#602's first half (as the second half seems to have already been implemented, separately):

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.

Seperate .installdir files will be made for different Discord branches - for instance, Canary will have .installdir-canary and PTB will have .installdir-ptb

Copy link
Member

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

LGTM for the most part

injectors/linux.js Outdated Show resolved Hide resolved
Copy link
Contributor

@lleyton lleyton left a comment

Choose a reason for hiding this comment

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

LGTM, nya

@lleyton lleyton merged commit 609c7c3 into replugged-org:main Aug 26, 2022
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.

3 participants