tis-affine icon

tis-affine

Paquet d’installation silencieuse pour tis-affine

0.24.1-0

  • package: tis-affine
  • version: 0.24.1-0
  • maintainer: WAPT Team,Tranquil IT
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 150.77 Mo

package           : tis-affine
version           : 0.24.1-0
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : WAPT Team,Tranquil IT
description       : 
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
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      : 6314823e-462c-4a4b-9ef8-5a6737be8a93
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b58ff8a6f7b6d16537b386522a8d2c6957ffa372063106a8efe5dd46d2b40441
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-23T09:02:12.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         : atz7FkoRdiDiyWe59slAugLPQwjHkWsdiMcSPF0bp7u910gSZJ0d2xSUIflLbDgBPJr5f221VAlj6Q83m0GrkJiXzjqic/UKDI6xF4ecv/Ko+NJ2qe6ZWDniE/ZP4wwUFTuFmTQ5HqhUM9D/rvQKTDn7VnlwE2WUE7iMezFuhZUEEyDSPTbx9jpCu2FaOaxVGjiG5eh8aXF9VsFRuBjYvVffGzqc/BLnh14zbQtLeqrIptVXdo+Tju4t0nmlE/Lv7FD8D+bZulsc9D+czAJODJBPhaq3CBrZBg0x4DLodUeKtC276GZFUMDC5bf/dN5pbdRx5nSTO52qICHEFN8YAw==

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


def install():
    # Declaring local variables
    bin_name = glob.glob("*.exe")[0]

    install_exe_if_needed(bin_name,'/S /allusers',key='4b12e443-6fdb-548f-8fc6-9c113eb743fb',min_version=control.get_software_version())

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    git_repo = "toeverything/AFFiNE"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["name"].endswith('-stable-windows-x64.nsis.exe') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version = get_version_from_binary(latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
        control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
        # control.set_software_version(Version(version))
        control.save_control_to_wapt()

    # Validating update-package-sources
    return result

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
94635fce3d1cf2f9fe76caaef23c3dae390a28ef3227addb84166d0a388b2127 : WAPT/control
b58ff8a6f7b6d16537b386522a8d2c6957ffa372063106a8efe5dd46d2b40441 : WAPT/icon.png
902b0a1099e692356f02b7214f7f5481c604c38a010dfc22deb5a06eb3498f25 : affine-0.24.1-stable-windows-x64.nsis.exe
1a4eebae38168655e528a27e267a1ede22a4fe047fd83edea3833caf0f25196d : luti.json
c8e7f410508eec2a4a490950445c1f50dd6e2fcc79cdbfecc4e1ade14419580a : setup.py
4f89ad96f55dfe0ba6f197ef781a47beabf728144c1e66249f52b4922ec0d96f : update_package.py