eg. change this:

runtime: org.gnome.Platform
runtime-version: "46"

to this:

runtimes:
  - org.gnome.Platform/46
  - org.gnome.Platform/45
  - org.freedesktop.Platform/20.08
  - org.kde.Platform/5.15

Many people complain about flatpaks taking up too much space. Allowing for more runtimes to be shared between apps would take up less space. However, this has been denied.

If I am an app developer and I know my app runs on several different runtimes, why shouldn’t I be able to specify all of those runtimes? Are there technical reasons why this is a bad idea?

EDIT: I mean a list of runtimes of which one must be installed, not a list of runtimes of which all must be installed.

  • 873@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    4
    ·
    5 months ago

    What do you need 45 for if it runs with 46?

    If someone has 45 already installed and then installs a new app that supports 45 and 46, one would not have to download 46.

    • GravitySpoiled@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      5 months ago

      You have to download 46 eventually anyway. What if there’s a bug in 45? Why should you stick to 45 with the newer app? There’s no reason in sticking to older versions other than stability. Runtimes are stable enough.