if a local mods status is set to "ReinstallPending", with the appropriateĀ reinstall_path set to the new mod versions zip file, the Install() method will completely ignore the new file source, setting it back to status "installed" without copying any the new files over into the mod directory.
This is caused by the Install method excluding local mods from updating themselves, which is rather inconvenient.
For context; I was trying to create a system that allows local mods to fetch their updates from a github release when a new version is available, intended for Epic Games users
Steps to Reproduce
- have a mod in the /Local/ or /Dev/ folder
- set its status in mods.json to 3 (reinstall pending)
- set a valid reinstall_path value to a zip file of a newer mod version
- start the game
- "Latent reinstall of mod" shows up in log file without any effect
- notice that the mod has not been updated, but the status has been changed to 1 and the reinstall_path has been cleared
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now