#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json

packaging_format = 2

id = "xrsh"
name = "XRSH"

description.en = "a WebXR terminal (boots ISO image)"
description.fr = "un terminal WebXR (image ISO de démarrage)"

version = "0.142~ynh1"

maintainers = ["coderofsalvation"]

[upstream]
license = "GPL-3.0-or-later"
website = "https://xrsh.isvery.ninja"
demo = "https://xrsh.isvery.ninja/src/index.html"

userdoc = "https://forgejo.isvery.ninja/xrsh/xrsh-buildroot/_edit/main/buildroot-v86/board/v86/rootfs_overlay/root/manual.md"
code = "https://forgejo.isvery.ninja/xrsh/xrsh"

[integration]
yunohost = '>= 11.2.30'
helpers_version = "2.1"
# List of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386']
architectures = "all" 
multi_instance = false
ldap = "not_relevant" 
sso = "false"
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"

[install]

    [install.domain]
    # this is a generic question - ask strings are automatically handled by YunoHost's core
    type = "domain"

    [install.path]
    # this is a generic question - ask strings are automatically handled by YunoHost's core
    type = "path"
    default = "/xrsh"

    [install.init_main_permission]
    # this is a generic question - ask strings are automatically handled by YunoHost's core
    # This won't be saved as setting and will instead be used to initialize the SSOwat permission
    type = "group"
    default = "visitors"

[resources]
    # See the packaging documentation for the full set
    # of explanation regarding the behavior and properties for each of those
    # https://yunohost.org/packaging_apps_resources

    [resources.sources]

        [resources.sources.main]
        url = "https://forgejo.isvery.ninja/xrsh/xrsh/archive/0.142.zip"
        sha256 = "1cc9ce28514e5d2e07a2eb265f72951a79e43cd378cc1fc880f223027580e6f0"

        autoupdate.strategy = "latest_forgejo_release"

    [resources.permissions]
    # This will configure SSOwat permission for $domain/$path/
    # The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users)
    main.url = "/"