tis-affine icon

tis-affine

Paquet d’installation silencieuse pour tis-affine

0.25.0-0

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

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

package           : tis-affine
version           : 0.25.0-0
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : WAPT Team,Tranquil IT
description       : 
depends           : 
conflicts         : 
maturity          : PREPROD
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      : ed3a09c5-4b29-4ecb-9cf8-254bf97a214c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b58ff8a6f7b6d16537b386522a8d2c6957ffa372063106a8efe5dd46d2b40441
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-13T15:00:01.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         : sYaK7YB4sCEaudQQYFxGBxFhiasclv8MPUj0/pF8O78Q986giQ/4Bb6YFTtYC3PdGDM8DxFtTcebIYzihw+i1ApEFigDLirkYSosjjJ4exjkem7+gG9mx5Oj37vDGkYfhygH0wiGTZEJepft/wK9bInSutUWTzjUYzGF1NCNUBEHTI9DK/Kk/gW3oM+sZQ7JcOlNUJReIEr/bCepFAQTko0xAD8CjrcqYHjFSm3huos0Qfmx1U01rVlz5TFrj24T4+3f5gAZaLxDFkKw6jOa9KBHysvntWXpvR7CuUgScRKl49vuwxlR8ii/eekTCoh+PTbech9zKBF1Y1rlOJRvLg==

# -*- 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

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
0e06c4a66f123ee6ef9af450e412fbde2cf94b898a23f8d4de101a0f7d8acbb8 : WAPT/control
b58ff8a6f7b6d16537b386522a8d2c6957ffa372063106a8efe5dd46d2b40441 : WAPT/icon.png
d00b531731f954e6eaeda18f148fbea10693f8b26fce250bff88e6d26c8c196e : affine-0.25.0-stable-windows-x64.nsis.exe
241c3e95d44b1f5a4d0c69b8185ada7d143f0e2fa213d23f4fcbce8c1776be3e : luti.json
c8e7f410508eec2a4a490950445c1f50dd6e2fcc79cdbfecc4e1ade14419580a : setup.py
4f89ad96f55dfe0ba6f197ef781a47beabf728144c1e66249f52b4922ec0d96f : update_package.py