wiiznokes / fan-control

Control your fans with different behaviors
GNU General Public License v3.0
159 stars 11 forks source link

Flatpak support #80

Closed wiiznokes closed 7 months ago

wiiznokes commented 9 months ago

I think this is possible. Probably need some udev rules like openRGB https://openrgb.org/udev

flatpak repo: https://github.com/flathub/org.openrgb.OpenRGB

the pull request to flathub of openRGB: https://github.com/flathub/flathub/pull/2677

tauri discussion about flatpak (the file could be generated by cargo packager eventually)

Process to add flatpak support (doc: https://docs.flatpak.org/en/latest/introduction.html)

wiiznokes commented 9 months ago

maybe we will need the nvidia runtime to use wgpu :question:

wiiznokes commented 9 months ago

https://github.com/squidowl/halloy/blob/main/assets/flatpak/org.squidowl.halloy.json

wiiznokes commented 9 months ago

doc for metadata file: https://www.freedesktop.org/software/appstream/docs/ .desktop: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

wiiznokes commented 8 months ago

Need to generate a source file for the manifest using https://github.com/flatpak/flatpak-builder-tools. Using a git repo as a source, and making shell command to init submodule, fetch deps would be better, but a dir source can maybe work.

carreful with the local cache.

wiiznokes commented 7 months ago

https://github.com/flathub/org.squidowl.halloy/blob/master/org.squidowl.halloy.json

wiiznokes commented 7 months ago

https://github.com/flatpak/flatpak-github-actions

wiiznokes commented 7 months ago

https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/

wiiznokes commented 7 months ago

https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html#