Open IceOfWraith opened 2 years ago
Few things I could do here. I could add 'conditional' update stages (Only runs if a certain file doesn't exist) - or update stages that delete themselves from the list once they've run successfully. The former is definitely tidier.
I can't think of a scenario right now that checking for an existing file wouldn't address. That seems like the way to go.
Self-destructing update stages do sound cool though. Lol
This doesn't seem to be needed anymore now that we have conditional and run once update stages.
Except OneShot doesn't work?
Oh? That's news to me.
I added it to Tarkov in the hope it would prevent the same version of node being installed on every update. Doesn't seem to make a difference
Yeah I'll take a look. For sure at one time it would delete the stage.
We probably want something tho as well in the UI to reset the "has successfully updated once" flag - in case something is corrupted/deleted and the stage(s) need to be run again
Also to note, figuring out how it's handled on template updates.
Feature Request
Feature Information:
What should it do? I'm specifically looking to have the "Executable" Update Stage allow for a "run once" setting for use with a MariaDB config template where running the program
mysql_install_db.exe
more than once could cause damage to the setup. This would be useful on any update stage though.Is it specific to a given application module? Generic Module
I confirm: