tis-xournal icon

Xournal++

Silent install package for Xournal++

1.3.0-3

  • package: tis-xournal
  • name: Xournal++
  • version: 1.3.0-3
  • maintainer: Amel FRADJ
  • licence: open source
  • locale: all
  • target_os: windows
  • impacted_process: xournalpp
  • architecture: x64
  • signature_date:
  • size: 94.76 Mo
  • installed_size: 242.59 Mo
  • homepage : https://xournalpp.github.io/

package           : tis-xournal
version           : 1.3.0-3
architecture      : x64
section           : base
priority          : optional
name              : Xournal++
categories        : 
maintainer        : Amel FRADJ
description       : Xournal++ is an open source, cross-platform note-taking software that is fast, flexible and functional
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/xournalpp/xournalpp
installed_size    : 242587474
impacted_process  : xournalpp
description_fr    : Xournal++ est un logiciel de prise de notes open source et multiplateforme rapide, flexible et fonctionnel
description_pl    : Xournal++ to otwarte, wieloplatformowe oprogramowanie do tworzenia notatek, które jest szybkie, elastyczne i funkcjonalne
description_de    : Xournal++ ist eine schnelle, flexible und funktionale Open-Source- und plattformübergreifende Notiz-Software
description_es    : Xournal++ es un software de código abierto y multiplataforma para tomar notas, rápido, flexible y funcional
description_pt    : O Xournal++ é um software de anotações de fonte aberta e multiplataforma que é rápido, flexível e funcional
description_it    : Xournal++ è un software open source multipiattaforma per prendere appunti, veloce, flessibile e funzionale
description_nl    : Xournal++ is een open source, cross-platform notitiesoftware die snel, flexibel en functioneel is
description_ru    : Xournal++ - это кроссплатформенное программное обеспечение для ведения заметок с открытым исходным кодом, быстрое, гибкое и функциональное
audit_schedule    : 
editor            : 
keywords          : 
licence           : open source
homepage          : https://xournalpp.github.io/
package_uuid      : c4669743-121d-4cf7-a9bd-a67b7bd65be6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/xournalpp/xournalpp/blob/master/CHANGELOG.md
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 9b5dc08f12257bc882402d80b81bfa11a67ac526d5d9b3e932dee13e6e5ea52b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-12-17T03:09:41.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         : Fa//VKfqKBJCfYqC55NTuP186nHe+oSyjIlmG63nhCxE0vwaTIPPLBKI7gPhid24lI1KhsoOab3R+ZEiJZtfWQZjHkHEQn6HJTzSuuwbCOdKY7N0VNum3rsuq/S4+S4F9SksCQwgoKjdUtMxgGc1HBz40P4VbD8a8wOBKxIEipH/LshQ/G0Fi0EPPolqV/ilPgATHiGHkxuws4zpSAEsONOqPkZZzffVFXfzBG8YkWFEEB8WCsyd8onVZZNwzWuTj+OSZCkCMjwRCzvROmk64cPNzUD2ppXQJveotOiYcZ9E2imMsYMeBdz9l8B9+zrfkJ6T4mas4YjLXf98FgDlmQ==

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


def install():
    # Declaring local variables
    bin_name = glob.glob('xournalpp-*.exe')[0]
    path_to_xournal = makepath(programfiles,"Xournal++","bin","xournalpp.exe")

    if force or not isfile(path_to_xournal) or Version(get_file_properties(path_to_xournal)['ProductVersion']) < control.get_software_version(): 
        install_exe_if_needed(
            bin_name,
            silentflags='/S /allusers',
            min_version= control.get_software_version(),
        )
    else:
        print('Skip Xournal++ already install')

    if not isfile(path_to_xournal) or Version(get_file_properties(path_to_xournal)['ProductVersion']) < control.get_software_version(): 
        error("Xournal++ not install")
    
def uninstall():
    uninstall_exe_path =  makepath(programfiles,'Xournal++','Uninstall.exe')
    if isfile(uninstall_exe_path):
        run(f'"{uninstall_exe_path}" /S')

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    api_url = "https://api.github.com/repos/xournalpp/xournalpp/releases/latest"
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)

    for asset in releases_dict["assets"]:
        if asset["browser_download_url"].endswith(".exe"):
            url_download = asset["browser_download_url"]
            latest_bin = asset["name"]
            version = releases_dict["tag_name"][1:]
            break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download )
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download , latest_bin, proxies=proxies)
    else:
        print("EXE file is present: %s" % latest_bin)


    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
15bdbb970c48fa2f1e29463138b1fac405799ed2cbeb0cc10a2dc19085e371fb : WAPT/control
9b5dc08f12257bc882402d80b81bfa11a67ac526d5d9b3e932dee13e6e5ea52b : WAPT/icon.png
ce16b5a4cc96e3c0d9fb040602c0c8eb2fc4da2eff86bf6f7f0dd24cf7449c7f : luti.json
3df19ab1abf312462a22b00a2822b98e5d91d8c2d09a1982ac8b3f2f1b7da830 : setup.py
fb89a859776c13dda09bd98b6a180037b3a64ee5758d174aadcb01f96a8329fb : update_package.py
bc19caadda0f1aa82681e4c90c00b6d53a5f201c53bb7d95b41fbe2bc68f5979 : xournalpp-1.3.0-windows-setup-AMD64.exe