<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Forwarding to mailing list for future reference. (Also I want to reference this mail in an upcoming mail).</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">On Mon, Jan 1, 2024, 14:31 Nils Kattenbeck <<a href="mailto:nilskemail@gmail.com">nilskemail@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Adrian<br><br><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto">You can change the URL you check for updates to include the current version number, then upload each version to a separate directory.<br></div><div dir="auto"><br></div><div dir="auto">I.e. instead of putting all the versions in <a href="http://update.example.com/myos" rel="noreferrer noreferrer" target="_blank">update.example.com/myos</a>, you'd put v2 in u.e.c/m/v1 and you'd put v3 in u.e.c/m/v2 and so forth</div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Brilliant, I did not think of that.</div><div dir="auto">I guess this would fall down when implementing something more complex like allowing to updating to the next two versions but this already suffices for my purpose. (In that case it would be possible to serve the images under multiple directory but that would be a bit ugly, especially when backing it with something like S3 which does not support symlinks - and also is disadvantageous for caching with CDNs.)</div><div dir="auto"><br></div><div dir="auto">Kind regards, Nils</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>