axolotl-chat / axolotl

A Signal compatible cross plattform client written in Go, Rust and Vuejs
https://axolotl.chat
GNU General Public License v3.0
329 stars 52 forks source link

Flatpak .desktop errors #289

Open joshbowyer opened 3 years ago

joshbowyer commented 3 years ago

At least for the recent qt merge, there are two .desktop files, one in export and one in files:

/home/mobian/flatpak/app/org.nanuc.Axolotl/aarch64/main/b49374dab17751c5bfa617ccae1c3c18335c3876068ddb9d1fab4efe2f5a1f60/export/share/applications/org.nanuc.Axolotl.desktop

/home/mobian/flatpak/app/org.nanuc.Axolotl/aarch64/main/b49374dab17751c5bfa617ccae1c3c18335c3876068ddb9d1fab4efe2f5a1f60/files/share/applications/org.nanuc.Axolotl.desktop

The syntax of the Exec command in the export .desktop file is wrong, and should be Exec=/usr/bin/flatpak run --branch=main --arch=aarch64 --command=axolotl org.nanuc.Axolotl -axolotlWebDir=/app/bin/axolotl-web/dist -e=qt

The syntax of the Exec command in the files .desktop file should be Exec=axolotl -axolotlWebDir=/app/bin/axolotl-web/dist -e=qt

nanu-c commented 3 years ago

Is this problem still present? Can you make a fix?