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

improve stage 2 detection #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

getchoo
Copy link

@getchoo getchoo commented Jun 9, 2023

previously, this function made a few errors such as checking for a microsoft edge folder in APPDATA and not LOCALAPPDATA, checking for the known files in the startup folder (they will never be there, see here. i'm also pretty sure this was incorrectly targeting C:\Microsoft), not accounting for files besides lib.jar on linux in ~/.config/.data (client.jar for example is placed there by lib.jar here), and not checking for the registry keys or systemd services also placed by stage 2

i've tested this on both platforms and it seems to be working as expected

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.

1 participant