-
-
Notifications
You must be signed in to change notification settings - Fork 6
AutoUpdate #74
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
base: dev1.2
Are you sure you want to change the base?
AutoUpdate #74
Conversation
IExploitableMan
commented
Apr 23, 2025
•
edited
Loading
edited
- Update PolyMod
- Basic updater
- Prereleases
- Update BepInEx
- Store BepInEx version on https://polymod.dev/data/bepinex.txt
- Localization
- Config
Closes #56 |
src/Managers/AutoUpdate.cs
Outdated
try | ||
{ | ||
var json = JsonDocument.Parse( | ||
client.GetAsync("https://api.github.com/repos/PolyModdingTeam/PolyMod/releases/latest").UnwrapAsync() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add possibility to probably let PolyMod update to alphas also. Maybe make it a button in PolyMod Hub as an option which is saved in config. Also, auto-update should be disableable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this amount of work it's definitely v1.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok