tis-siyuan icon

Siyuan

Silent install package for Siyuan

3.5.9-1
Utilities
Utilities

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-siyuan
  • name: Siyuan
  • version: 3.5.9-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: darwin
  • impacted_process: SiYuan
  • architecture: arm
  • signature_date:
  • size: 194.60 Mo
  • installed_size: 412.59 Mo
  • homepage : https://github.com/siyuan-note/siyuan/

package           : tis-siyuan
version           : 3.5.9-1
architecture      : arm
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         : darwin
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      : f77c9074-9cec-45ed-83b7-ae40782a3959
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6709fce7f3882d0ebdccc0506ab275104ead4da81f127dd4d599f20f6457a9fc
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-04T11:08:04.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         : I6/QOAo5KcL0LSCnKSBKBK/pD/749HNPDZy1Z5uyugI/YAe5D+dMKz5I+bbPPxbBOGjXK0J7AbiRypmZvY/dirvlfVV2wCK7MCnBcIK/eGdXe0819PMBW1lT+k85XiJv04vdDpya9TWJVKBGOWv2PeCjTwhbftIMsAvjzpPerFeAvAlNEiNAZzZ3PXLl+S8PKLO/wwb3YzHHpE1wdz7t5c0TE+kzpn+zZCB+fu8jOHYEQtxWg7kbe0Xo5jLcXWJiZ4nsXwZwCqbUh3cj9H+YtiYdiIl8prX3gSPmabX7mGYme+E38rAnWiP+7Bo4cqstdk97ipHD65B4kXfItJ+k0A==

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


def install():
    install_dmg(glob.glob("siyuan-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/siyuan.app")

# -*- 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 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',
    }
    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}")

    # 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
b5c99d7de84eb53a80ee1b513e9a987f51a5fff9dd83e1719cda621686450acb : WAPT/control
6709fce7f3882d0ebdccc0506ab275104ead4da81f127dd4d599f20f6457a9fc : WAPT/icon.png
dd0316f2b833aae3f522f085e16e14fad264190602ba759ceeee36a341f4ed89 : luti.json
62d7581ff8ae580a7dfe727576558cf747e8a938e9874566127a774660689912 : setup.py
eb174762bcd7d0fcb071d4ac4770a0fd023f4a0d7d25d4ed8b7f40b5eedd9740 : siyuan-3.5.9-mac-arm64.dmg
5dffbf6c71e09f482173c8ca5e31a6733705179d40f8ed224576b24be285c565 : update_package.py