• 𝒍𝒆𝒎𝒂𝒏𝒏
    link
    fedilink
    arrow-up
    35
    ·
    1 年前

    This kind of thing could work for a few apps, say a color picker utility or a QR code generator etc.

    Looking at the docs, it isn’t clear if apps can write to their own namespace (instead of writing to user folders directly), but if they can, we could expand the scope to games like supertuxkart, 2048 etc, which would then be able to save user milestones and progress in their own area - a bit like how Android apps do it

    https://docs.flatpak.org/en/latest/sandbox-permissions.html

    It’s a great start IMO, although admittedly there is still work to do. Flatpak atm bridges the gap with allowing new apps, requiring new libs, to run on older stable/LTS distros

    • themoonisacheese@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      1 年前

      Yes, they can. There are app-specific folders in .local that flatpaks can read and write to specifically for this purpose, and also the file picking dialog may give access to the one specific file you picked.

      Android IMO has great usability in exposing a database to apps, which means they aren’t required to ship their own database engine.

      • andruid@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        Get a database, data que and service mesh and we can have an advanced k8s style platform.