SchraderR / sp-tarkov-client

This is a project to automate installing and updating SPT-Mods without searching every mod again and repeat the workflow every god damn time
GNU General Public License v3.0
17 stars 3 forks source link

update mods / notify the user #107

Closed SchraderR closed 2 months ago

SchraderR commented 2 months ago

Solution

“Fetch Download Information”-Step will save all relevant information for the update process
a. save the URL of the mod (hub-url) (so we can directly (without redirect) get hub information)
b. save the hub-fileId (important because with this ID and HTTP request we can fetch information (like an overview of versions))

^ ( will be automated for downloaded mods and merged with a external configuration)

Normal Process of initial steps will fetch all local mod information
a. app.component -> electron and fetch informations
Mod Mapping will be shared between angular and electron
fetched information will be checked with the informations from the "fetch download information" step
a. will compare names
b. if the names are equal -> Happy; if not manual mapping or no happy path
SchraderR commented 2 months ago

Will be summarized in this discussion and ported back https://github.com/SchraderR/sp-tarkov-client/discussions/130