UpdateInfo jumped into Data
Reported by a cypherpunk here: tor-browser-build#40724 (comment 2881419).
I think it's a regression from #20497 (closed).
We need to decide whether we should move it back to its original position (TorBrowser/UpdateInfo
), or keep the new position.
What's the logic for this directory? Should it be treated like data? In case, the new position could be better: if we use the logic to keep the data outside the browser directory, the update will be inside the actual data directory, instead of another directory at the same level of Browser and Data.
Or should the update data be in the same directory as the browser binaries?
Any user applying the update should also be able to write to the Browser
directory.
macOS is usually the most problematic platform, and has its own case already.
In any case, if we change the update directory, we might want to apply cleanup code for the previous files (but we need to be sure this doesn't break the updater, too).
Finally, we could keep the previous directory as a "don't fix it until it's broken".