jurassicplayer / decky-autoflatpaks

A decky-loader plugin to manage, notify, and/or automatically update your steamdeck flatpaks without DesktopMode.
Other
19 stars 1 forks source link

Does Not Support Extra/User Installation Locations #6

Open chriztheanvill opened 1 year ago

chriztheanvill commented 1 year ago

Hi. Just reinstalled the steam deck os, and installing all my packages with 1) First the adding the repo: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo

2) Then the packages flatpak install flathub -y net.pcsx2.PCSX2 net.rpcs3.RPCS3 org.citra_emu.citra org.yuzu_emu.yuzu org.ryujinx.Ryujinx com.steamgriddb.steam-rom-manager org.libretro.RetroArch io.mgba.mGBA dev.bsnes.bsnes org.DolphinEmu.dolphin-emu org.desmume.DeSmuME org.ppsspp.PPSSPP org.duckstation.DuckStation com.snes9x.Snes9x net.kuribo64.melonDS org.flycast.Flycast com.retrodev.blastem com.github.AmatCoder.mednaffe com.google.Chrome org.mozilla.firefox net.davidotek.pupgui2

Using this method, the plugin does not recognize the packages.

jurassicplayer commented 1 year ago

So, this is actually something that I've slowly been trying to work on (basically why it's been silent) as a more complete support of extra installation locations and repos, but at the moment AutoFlatpaks currently only supports the default system install location.

chriztheanvill commented 1 year ago

I made a test, just in my current linux (fedora) installation.

chriztheanvill commented 1 year ago

I think is in { "name": "AutoFlatpaks", "author": "jurassicplayer", "flags": ["root"], <==== "publish": { "tags": ["flatpak", "package-management", "utility", "update", "root"], <=== "description": "A plugin to manage, notify, and automatically update flatpaks on your steamdeck console", "image": "https://github.com/jurassicplayer/decky-autoflatpaks/raw/main/assets/thumbnail.png" } }

jurassicplayer commented 1 year ago

Doing sudo flatpak update will run as root (and AutoFlatpaks is running everything as root atm), so it wouldn't show any updates for packages in your user directory.

As for changing the plugin's flags...that won't happen. Doing that would make AutoFlatpaks basically not be able to perform any of it's actual functions on stock installs since the default location is the system install which requires authentication in order to do anything (like installing/updating packages). In the future, once I have finished making all of the changes for v2.0.0, AutoFlatpaks should be able to correctly handle packages normally managed with the --user flag as well as other installation locations.

If you want, you can manually remove the flag on your device as it should be fine for most, if not all of the functions provided you remove the repos from the system installation first or changing the --user priority to be higher (untested, but maybe works?) otherwise package installations will probably always fail.