budde25 / switcheroo

A cross platform, Rust implementation for the Tegra X1 bootROM exploit
https://budde25.github.io/switcheroo/
GNU General Public License v2.0
47 stars 3 forks source link

Releases missing Appimage/Flatpak/RPM formats #6

Open parkerlreed opened 2 years ago

parkerlreed commented 2 years ago

Releases just has a deb file. What happened to the others?

budde25 commented 2 years ago

Hello, thanks for filling out an issue!

So in regards to other releases I have run into many problems with them and just decided to remove all the ones that didn't work properly. I don't really have the time or bandwidth to fix them atm but here is a quick list of issues I am having in regards to each of those package formats

RPM

cargo-rpm is now unmaintained and I haven't put in the time to learn how to make those manually

Appimage

The appimage that were in the previous release didn't work on both Wayland and X11 and also if you either didn't have or had no or an old version of glibc. Anyway the glibc should be easy as it can compile with musl but I have been unable to get a working appimage build process in the CI without something going completely wrong. (I personally have found the docs to be very hard with many different ways to do it, none of them quite working). So it should be possible with more research.

Flatpak

This is the one I have put the most time into and I just am not convinced its possible atm. Flatpak doesn't seem to have udev support so the only way the app works is if the device is plugged in BEFORE opening the app. Not to mention the user would have to install the udev rules files themselves anyway or install another deb/rpm package that has those already (see steam-devices). Even if you did that the user experience of having to have it plugged in and in rcm mode before opening the app is awful (though it technically can work). Anyway if I am missing something here I would love to hear it because flatpak would definitely be the most useful platform to support imo (followed closely by appimage).

Anyway all that being said, pull requests to add any of these would definitely be welcome :).

parkerlreed commented 2 years ago

Thank you!