by NiX
Version 3 (May 23, 2024)
Download (43 downloads)
Version: 1.0.1
Brought to you by: NiX
You're free to use this system, but be sure to give at least minimal credit(such as mentioning that you've used this system and tell who it was made by)
This is a self update flow, it will automatically update to the latest version, for demonstration purposes, it will always try to update
This system was derived from the bigger 11 block system(https://llamalab.com/automate/community/flows/37830), and eventually compacted into this, solving problems that arose while using other systems
This system fits into 8 blocks(not counting the start block(as it's not related, it is related in the original), which is actually the same amount as the original is(https://llamalab.com/automate/community/flows/21463)) and doesn't use flow's uri to get what it needs, you just need to provide it with it's own community flow id(variable) and it's version(variable and community description) and it will work just fine
By default the flow checks the first line of description, then splits that line by a regex ": " for a version string, but it is configurable, both line and regex, or alternatively you can use slice() function to capture version number
Also this system can show how many versions you're behind from the community upload(although other systems can do this too with a slight modification of their notification contents)