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

Read addonlist.txt #16

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

MerryDreambound
Copy link
Contributor

@MerryDreambound MerryDreambound commented Sep 12, 2024

Adds an dev button that reads the addonlist.txt and uses regex to extract data from it and update the enabled addons db.
Current issues:

  • Not integrated with on boarding.
  • It's on a dev settings location, which may confuse users.
  • Overwrites profile data (Maybe we should use a currently active addons profile, to not overwrite profiles when used)

Closes #7

@MerryDreambound
Copy link
Contributor Author

The first initial commits, are me getting used to the code base/testing stuff out, so sorry if it's messy

Copy link
Owner

@pukmajster pukmajster left a comment

Choose a reason for hiding this comment

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

Looks like workshop directories ("/workshop/x.vpk") are hardcoded, which means locally installed addons present in "/addons/" will be ignored entirely. Let me know if you can whip up a fix for that.

@MerryDreambound
Copy link
Contributor Author

I'll check up on that when I have the time, thank you

@MerryDreambound
Copy link
Contributor Author

MerryDreambound commented Sep 20, 2024

I had to quickly research how to install addons locally, and then create code on that, but the new changes should work if I understood local installs right and set it up correctly for testing.

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.

addonlist.txt being loaded
2 participants