tis-appflowy icon

AppFlowy

Silent install package for AppFlowy

0.9.4-1

  • package: tis-appflowy
  • name: AppFlowy
  • version: 0.9.4-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT
  • editor: AppFlowy Community
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: macos
  • impacted_process: AppFlowy
  • architecture: all
  • signature_date:
  • size: 99.37 Mo
  • installed_size: 93.24 Mo
  • homepage : https://www.appflowy.io/

package           : tis-appflowy
version           : 0.9.4-1
architecture      : all
section           : base
priority          : optional
name              : AppFlowy
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT
description       : AppFlowy is an AI-powered secure workspace where you achieve more without losing control of your data.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.4
sources           : https://github.com/AppFlowy-IO/AppFlowy
installed_size    : 93241820
impacted_process  : AppFlowy
description_fr    : AppFlowy est un espace de travail sécurisé optimisé par l'IA qui vous permet d'être plus productif sans perdre le contrôle de vos données.
description_pl    : AppFlowy to bezpieczna przestrzeń robocza wspomagana przez sztuczną inteligencję, która pozwala osiągnąć więcej bez utraty kontroli nad danymi.
description_de    : AppFlowy ist ein sicherer KI-gestützter Arbeitsbereich, in dem Sie mehr erreichen können, ohne die Kontrolle über Ihre Daten zu verlieren.
description_es    : AppFlowy es un espacio de trabajo seguro impulsado por IA que te permite lograr más sin perder el control de tus datos.
description_pt    : AppFlowy é um espaço de trabalho seguro e alimentado por IA que permite que você realize mais sem perder o controle de seus dados.
description_it    : AppFlowy è un'area di lavoro sicura basata sull'intelligenza artificiale che ti consente di ottenere di più senza perdere il controllo dei tuoi dati.
description_nl    : AppFlowy is een veilige AI-gestuurde werkruimte waarmee u meer kunt bereiken zonder de controle over uw gegevens te verliezen.
description_ru    : AppFlowy - это безопасная рабочая среда с поддержкой искусственного интеллекта, которая позволяет добиваться большего, не теряя контроля над своими данными.
audit_schedule    : 
editor            : AppFlowy Community
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://www.appflowy.io/
package_uuid      : 0bc3bebf-dee9-41fc-842e-419aa6dd2491
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 647af9b8d2c330e1540c6abe3f6b3d483f5fa6b4ce49be31ff8749ec03498ed9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-08T07:08:25.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : odCpA1egXqKaH/yWmNQNGyRIWK8ePu1Nl3mHu9066O4sy2qM5ZsQIYqx/GE9pgN2bM1RhJsoK9f7gH1vp5QKAxWAW0vpHM2DefzNKAkaRNOSeoNsTLS9ti2zbb1mB94iAYyy0drLaoMjOIVOP8b1wXa8WJXKSQlT9qSuBHKtI5X9lAOS3f2/h3j3r9OaVriIUJJJ6g0B5yveeQXvz8QWxcdCz3JSJeW9tf0kp10zrODeKa3TW2T9ic9tvGg+vkynowHmeXkw7wms9dfG5SJEy9/Vrtupf+PUNK4ZywEy2J/lYTVwXTQ+wEJMTdkIs2nuDaE8E7il8kojyk3cG8IGDg==

# -*- coding: utf-8 -*-
from setuphelpers import *



def install():
    # Declaring local variables
    bin_name = glob.glob("*.dmg")[0]
    
    # version because appflowerteam go to short or longer version 
    version = str(Version(control.get_software_version(),4))

    install_dmg(bin_name,key='/Applications/AppFlowy.app', min_version=version)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    git_repo = "AppFlowy-IO/AppFlowy"
    api_url = f"https://api.github.com/repos/{git_repo}/releases/latest"

    os_dict = {
        'windows-x64': '-windows-x86_64.exe',
        'macos-all': '-macos-universal.dmg',
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    releases_dict = wgets(api_url, proxies=proxies, as_json=True)

    for asset in releases_dict["assets"]:
        if asset["name"].endswith(os_dict[os_type]):
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = releases_dict["tag_name"].replace('v', '')
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

518342f586a3829ed4c8f937db56f74cf8166b9905d19c73f1be508b36c8b27b : AppFlowy-0.9.4-macos-universal.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e006597d52f811de96c89ce88296a8d371948d5d7500714b2c979583e6264d0a : WAPT/control
647af9b8d2c330e1540c6abe3f6b3d483f5fa6b4ce49be31ff8749ec03498ed9 : WAPT/icon.png
042a2fee3b12b1d986038cabc1424d2e51857e8f0b32d5cace0fc455baece386 : luti.json
78e74893efbed8e49609e78e37d6e639b0bf38e659902f877900a42fd6023e89 : setup.py
14580f3e278606cab3a6fbf5ad6dea2a17bc0c9e869d10316463aa800b044dd7 : update_package.py