tis-siyuan icon

Siyuan

Paquet d’installation silencieuse pour Siyuan

3.3.5-1
Utilities
Utilities

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-siyuan
  • name: Siyuan
  • version: 3.3.5-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
  • editor: Yunnan Liandi Technology Co., Ltd.
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
  • locale: all
  • target_os: windows
  • impacted_process: SiYuan
  • architecture: x64
  • signature_date:
  • size: 171.25 Mo
  • installed_size: 412.59 Mo
  • homepage : https://github.com/siyuan-note/siyuan/

package           : tis-siyuan
version           : 3.3.5-1
architecture      : x64
section           : base
priority          : optional
name              : Siyuan
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description       : SiYuan is a privacy-friendly personal knowledge management system that supports fine block-level references and the Markdown WYSIWYG format
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 412587001
impacted_process  : SiYuan
description_fr    : SiYuan est un système de gestion des connaissances personnelles respectueux de la vie privée, qui prend en charge des références fines au niveau des blocs et le format Markdown WYSIWYG
description_pl    : SiYuan to przyjazny dla prywatności osobisty system zarządzania wiedzą, który obsługuje odniesienia na poziomie drobnych bloków i format Markdown WYSIWYG
description_de    : SiYuan ist ein datenschutzfreundliches System zur Verwaltung persönlichen Wissens, das Feinverweise auf Blockebene und das Markdown-Format WYSIWYG unterstützt
description_es    : SiYuan es un sistema de gestión del conocimiento personal respetuoso con la privacidad que admite referencias finas a nivel de bloque y formato Markdown WYSIWYG
description_pt    : O SiYuan é um sistema de gestão do conhecimento pessoal que respeita a privacidade e que suporta referências finas ao nível do bloco e o formato Markdown WYSIWYG
description_it    : SiYuan è un sistema di gestione della conoscenza personale rispettoso della privacy che supporta riferimenti a livello di blocco e il formato Markdown WYSIWYG
description_nl    : SiYuan is een privacyvriendelijk persoonlijk kennisbeheersysteem dat verwijzingen op blokniveau en een Markdown WYSIWYG-indeling ondersteunt
description_ru    : SiYuan - это удобная система управления персональными знаниями, поддерживающая мелкие ссылки на уровне блоков и формат Markdown WYSIWYG
audit_schedule    : 
editor            : Yunnan Liandi Technology Co., Ltd.
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_private
homepage          : https://github.com/siyuan-note/siyuan/
package_uuid      : d254a2a3-3a33-4feb-8316-1ccf3a2493db
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 6709fce7f3882d0ebdccc0506ab275104ead4da81f127dd4d599f20f6457a9fc
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-14T04:57:47.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         : hZlY7//NXGLqM6mH6wWFIrN3c57v0mPG91BWYzsNPhTvzkAtwbvsxeSubgoC8TQmBVgaUjlgL+RS/126BVBPPJdf8r4PPhYb5IglKcSlEvj5bcmVmFyNXYAabDl0eTpBz+wFIsay8rusa8lR9ZoQcE63iIk3acXBNGwu50PlT+bTfqIuOB898/mDo7QD7PUV37szmlhuE8APwB4W7GwlHJLT4VdfLfq3RhTEl/sL27Jgc1/g+Y8ljXhqg6/1T7wD6Tctb5k6TJFZuOUSn58DGxw7ZDpeyAdc+3EcXWywemfVk1rXENAV8HpqJn1hUaMGuzDRNMdpcZei3zs48fup7w==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    bin_name = glob.glob("siyuan-*-win.exe")[0]
    
    install_exe_if_needed(
        bin_name,
        silentflags="/allusers /S",
        key="c1e77cb7-68e1-5adb-ab29-ecf7379a9944",
        min_version=control.get_software_version(),
    )

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers 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

    api_url = "https://api.github.com/repos/siyuan-note/siyuan/releases/latest"
        
    latest_release = wgets(api_url, proxies=proxies, as_json=True)
    version = latest_release['tag_name'].replace('v', '')

    download_dict = {
        'darwin-x64': f'siyuan-{version}-mac.dmg',
        'darwin-arm': f'siyuan-{version}-mac-arm64.dmg',
        'windows-x64': f'siyuan-{version}-win.exe',
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    for asset in latest_release["assets"]:
        if asset["name"] == download_dict[os_type]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit(".", 1)[-1]
            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 = "Yunnan Liandi Technology Co., Ltd."
    sign_name = waptlicences.check_exe_signing_certificate(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

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
947a8d770f8fbaaa62ed5cb2808b200d6782f5365af7606efafd72f56d06a383 : WAPT/control
6709fce7f3882d0ebdccc0506ab275104ead4da81f127dd4d599f20f6457a9fc : WAPT/icon.png
7f94a31f03591d4bf66b2b9e908b7e1fe5f68d9e7975ec36b4ff8099b0303fd4 : luti.json
0a66d17b3f1ed8e547e49f1048471db2ae5ef1418b9f736f5c88f61fff1024da : setup.py
8119658049045d9a1987011203e347f2cb9f730ed56b491d8e2f816dfc7feb6a : siyuan-3.3.5-win.exe
76bc4c0dab13d48a3a8c59607b3d99b59df645f970884380e2092965a6c0abd6 : update_package.py