wheaney / breezy-desktop

XR virtual workspace library for Linux
GNU General Public License v3.0
272 stars 33 forks source link

Add some way to verify installation #6

Closed wheaney closed 9 months ago

wheaney commented 10 months ago

Something as simple as updating the breezy and driver package scripts to build a manifest with checksums for the various installation files. Then we can have a script that verifies the installation by comparing the binary checksums against the manifest, for any files where we do replacements, just verify the presence of those files.

The decky plugin could ultimately call this script and reinstall if the check fails. This would prevent weird cases where a manual breezy install gets the decky plugin out of sync with the underlying driver and shader, or a manual vkbasalt install manages to mess up our vkbasalt install.

wheaney commented 9 months ago

This was fixed in https://github.com/wheaney/breezy-desktop/commit/f173f361a5c4c2a8b6f53b0be642598326a988fe