tis-rednotebook icon

RedNotebook

Silent install package for RedNotebook

2.39-7

  • package: tis-rednotebook
  • name: RedNotebook
  • version: 2.39-7
  • categories: Utilities
  • maintainer: Simon FONTENEAU, Tranquil IT
  • licence: GPLv3+
  • locale: all
  • target_os: windows
  • impacted_process: rednotebook.exe
  • architecture: all
  • signature_date:
  • size: 24.15 Mo
  • installed_size: 1.38 Go
  • homepage : https://rednotebook.sourceforge.io/

package           : tis-rednotebook
version           : 2.39-7
architecture      : all
section           : base
priority          : optional
name              : RedNotebook
categories        : Utilities
maintainer        : Simon FONTENEAU, Tranquil IT
description       : RedNoteBook combines a calendar, a note-taking tool, and an annotations module, such as a calendar. You can enter different texts a day and navigate between different calendar dates.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 1378177024
impacted_process  : rednotebook.exe
description_fr    : RedNoteBook combine un calendrier, un outil de prise de notes et un module d'annotations, comme un calendrier. Vous pouvez saisir différents textes par jour et naviguer entre différentes dates de calendrier.
description_pl    : RedNoteBook łączy w sobie kalendarz, narzędzie do robienia notatek i moduł adnotacji, taki jak kalendarz. Można wprowadzać różne teksty w ciągu dnia i nawigować między różnymi datami kalendarzowymi.
description_de    : RedNoteBook kombiniert einen Kalender, ein Notizbuch-Tool und ein Annotationsmodul, wie beispielsweise einen Kalender. Sie können pro Tag unterschiedliche Texte eingeben und zwischen verschiedenen Kalenderdaten navigieren.
description_es    : RedNoteBook combina un calendario, una herramienta para tomar notas y un módulo de anotaciones, como un calendario. Puede introducir textos diferentes al día y navegar entre fechas de calendario diferentes.
description_pt    : RedNoteBook combina um calendário, uma ferramenta para tomar notas, e um módulo de anotações, tal como um calendário. É possível introduzir diferentes textos por dia e navegar entre diferentes datas de calendário
description_it    : RedNoteBook combina un calendario, uno strumento per prendere appunti e un modulo per le annotazioni, come un'agenda. È possibile inserire diversi testi al giorno e navigare tra le diverse date del calendario
description_nl    : RedNoteBook combineert een kalender, een hulpmiddel om aantekeningen te maken en een annotatiemodule, zoals een kalender. U kunt per dag verschillende teksten invoeren en tussen verschillende kalenderdata navigeren
description_ru    : RedNoteBook сочетает в себе календарь, инструмент для ведения заметок и модуль аннотаций, например, календарь. Вы можете вводить различные тексты в день и перемещаться между различными датами календаря
audit_schedule    : 
editor            : 
keywords          : red,note,book
licence           : GPLv3+
homepage          : https://rednotebook.sourceforge.io/
package_uuid      : ab954713-930c-4096-be8e-437f87eb5038
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.0
max_os_version    : 
icon_sha256sum    : 0738d62aab3d90a7679b33fb0053fdd98ce37c9bd3ae9724123f7d04d41e575a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-01T13:15:07.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         : vuaVfC3EEgyIq4hCx3FMspKGOoM6zW3u+n1r6Gc7Ge6QlQZb5jttVexgaBitlwB2Co14Xp/ifdfmsVVFjpW1gC4BRAxhPqY3PiCaqagpTlxwiqkFHhi7ZHBjTyFUbpkTuN3aEtju01fxumHVSlGXFce3zfmDFtmoasAUWAGYFojFhFTcrbv/Wn/9lEw4F7Yy80WxbXe2kBG7x6lTkIgm/CeA+w+XOsPNV7Xuc6fqFprpxYufMQ2OR31ChfyQfsOQBiVLV0XWcc34wp7pHLBp4vTazrA/TPtUkeAoGhf92YLOkEgSgR5FWihmO1tZNNgaKVflYJ8nYCT6IQgHN49Nqw==

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


def install():
    print("installing Rednotebook")

    def versrednotebook(key):
        return key["name"].replace("RedNotebook ", "")

    versionpaquet = control.get_software_version()

    install_exe_if_needed(
        "rednotebook-%s.exe" % versionpaquet,
        "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="{82A7E9C3-D3F3-4B85-9AC3-D0E011D19E50}_is1",
        min_version=versionpaquet,
        get_version=versrednotebook,
    )

# -*- 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/jendrikseipp/rednotebook/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    for to_download in json_load["assets"]:
        if "rednotebook-" and ".exe" in to_download["name"]:
            version = json_load["tag_name"].strip('v')
            latest_bin = to_download["name"]
            download_url = "https://github.com/jendrikseipp/rednotebook/releases/download/v%s/rednotebook-%s.exe" % (version, version)
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_version() == "Windows":
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
            print("ERROR: Binary file version do NOT corresponds to online version")
        else:
            print("INFO: Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c01ca59d2f3c8bb49abf933bafc716bf6b65d9036e551ad9c10bd4ee7dc3b916 : WAPT/control
0738d62aab3d90a7679b33fb0053fdd98ce37c9bd3ae9724123f7d04d41e575a : WAPT/icon.png
6fa65e0c47b3d167d60186c8153c7f37ccb44696216fd4e067cbe3d5836f49bb : WAPT/wapt.psproj
d2bf3b63037254c66cac0860f7d956326dd431e5338dcf21c71bb9067336e7a0 : luti.json
29a6a070265332fd33566e88de95733301b514d99fc259dae913dd3c1eca7835 : rednotebook-2.39.exe
6e2c881b34665d423731e341e9578b432671c8f431fc2acd0e795b60a09c4108 : setup.py
04d29a34615cd3bb074558e1358a6738f8ff0767803c185527a4a44a9c84c797 : update_package.py