AppFlowy
Silent install package for AppFlowy
								
								0.10.3-1
								
							
							
                                   
                                       
                                           Utilities
                                       
                                   
                                
								
							
                               
                                   
                                       Utilities
                                   
                               
							
							
						
                                    Preprod packages are packages built on LUTI.
                                    They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
                                    
                                    If the package passes this last check, it is promoted to PROD and published on the store.
                                
- package: tis-appflowy
 - name: AppFlowy
 - version: 0.10.3-1
 - categories: Utilities
 - maintainer: WAPT Team,Tranquil IT
 - licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
 - locale: all
 - target_os: windows
 - impacted_process: AppFlowy
 - architecture: x64
 - signature_date:
 - size: 45.89 Mo
 - installed_size: 38.47 Mo
 - homepage : https://www.appflowy.io/
 
package           : tis-appflowy
version           : 0.10.3-1
architecture      : x64
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          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4
sources           : https://github.com/AppFlowy-IO/AppFlowy
installed_size    : 38470792
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            : 
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://www.appflowy.io/
package_uuid      : a4739953-4609-44d5-8c76-9cff3372e200
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 647af9b8d2c330e1540c6abe3f6b3d483f5fa6b4ce49be31ff8749ec03498ed9
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-31T16:08:18.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         : fwZOqtOYxqTTjg6ZOitXWMKZlxpX3EA3FmjmI57jup7+VULEWlDJrUE3/YfNpDJnkO271KEG5fNxb6zfzF9+iZJKXOCWbFl9r887TM2tRpARVwE8vWJMHSGXoHKBHBb5zpHZrcFhoisPRS/zJqPobQofxe5shk6JRNlb/DBi+ECjieeool1akRqnGnLD9aSC7qXVt4PkX16hrXrgaCM4IuX7R5HZJV9WoQ9IjCDYZpInb5fSwaG1TGkWXvhcFhDbaWaF1JBMaKCce8mZ/sd4C0PHpSNXjvzp3t8bUmXLaRZj6JC053Wx71HL6ALS3eJB+ctaFfNjmqWAXJEuEiWiYA==
                        # -*- coding: utf-8 -*-
from setuphelpers import *
def install():
    # Declaring local variables
    bin_name = glob.glob("*.exe")[0]
    install_exe_if_needed(
        bin_name,
        '/sp- /silent /norestart',
        key='AppFlowy_is1',
        min_version=control.get_software_version()
    )
                            # -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences
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',
        'darwin-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}")
    expected_issuer = "APPFLOWY PTE. LTD."
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')
    # 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
                            555896c649949550db9efdebddab8ea7ca487eb2272ddc15a4a84a6aba07e9d5 : AppFlowy-0.10.3-windows-x86_64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
69656a38459c9c4ce322e72097b6f380a2442b9c7db7cb5c053ef9b8a9cbfa58 : WAPT/control
647af9b8d2c330e1540c6abe3f6b3d483f5fa6b4ce49be31ff8749ec03498ed9 : WAPT/icon.png
98f75d056a57541adb03f1f0770055192762517b89f637a7758ef60fd0368786 : luti.json
b474ab7dd78f003cf0e8a22824e8bdfef1e0b1dcbb5de51ddca01e248a9df009 : setup.py
d49637211d1f57ba722d8aba58e23bc6aca029754703954268a18fa30aaf3317 : update_package.py