Check for Version File#447
Conversation
|
Can you re-test on the AiMesh node using this latest PR? |
Completed find below results: And: It did add the version.txt. but only after the update check was already completed, it makes the flow feel a little weird I'm wondering if we moved it up further in the process so it completed before the update check if that would be better. |
|
Any value in just reverting back to that method? but keeping your changes for the configuration file? |
Yes, good point. I've moved up the function call. Can you try again? |
The issue with that method, as written, is that it will keep making the "install" parameter call every single time on AiMesh nodes. Why? Because it checks for an entry in the hook file that will never be present on AiMesh nodes. |
On the AiMesh nodes you would have this "#MerlinAU" tag: |
|
I guess thats dependent on the update checks being enabled though? |
|
Oh I see; the tag name would need to be changed for that to match as well. |
Yeah, but it may not be always there, and the code was looking for the "#MerlinAU#" tag |
Correct, which would make the method unreliable. I'd rather make the code check for exactly the file(s) that we are looking for and expecting to be installed. |





Added a check for the version.txt file.