tis-openboard icon

OpenBoard

Silent install package for OpenBoard

1.7.3-6

  • package: tis-openboard
  • name: OpenBoard
  • version: 1.7.3-6
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Open Education Foundation
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • impacted_process: OpenBoard,OpenBoardImporter
  • architecture: all
  • signature_date:
  • size: 194.60 Mo
  • installed_size: 210.79 Mo
  • homepage : https://openboard.ch/
  • depends:

package           : tis-openboard
version           : 1.7.3-6
architecture      : all
section           : base
priority          : optional
name              : OpenBoard
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : OpenBoard is a free and open-source interactive whiteboard software compatible with any projector and pointing device.
depends           : tis-vcredist2013,tis-vcredist,tis-lavfilters
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/OpenBoard-org/OpenBoard/releases
installed_size    : 210786048
impacted_process  : OpenBoard,OpenBoardImporter
description_fr    : OpenBoard est un logiciel libre, gratuit et multiplateforme de tableau blanc interactif compatible avec n'importe quel projecteur et dispositif de pointage.
description_pl    : OpenBoard to darmowe i open-source'owe oprogramowanie do tablic interaktywnych kompatybilne z dowolnym projektorem i urządzeniem wskazującym
description_de    : OpenBoard ist eine kostenlose und quelloffene interaktive Whiteboard-Software, die mit jedem Projektor und Zeigegerät kompatibel ist
description_es    : OpenBoard es un software de pizarra interactiva gratuito y de código abierto compatible con cualquier proyector y dispositivo señalador
description_pt    : OpenBoard é um software de quadro branco interactivo gratuito e de código aberto compatível com qualquer projector e dispositivo apontador
description_it    : OpenBoard è un software per lavagne interattive gratuito e open-source compatibile con qualsiasi proiettore e dispositivo di puntamento
description_nl    : OpenBoard is een gratis en open-source interactieve whiteboard software die compatibel is met elke projector en aanwijsapparaat
description_ru    : OpenBoard - это бесплатное программное обеспечение с открытым исходным кодом для интерактивных досок, совместимое с любым проектором и указывающим устройством
audit_schedule    : 
editor            : Open Education Foundation
keywords          : 
licence           : GPLv3
homepage          : https://openboard.ch/
package_uuid      : 6b1c192c-5fc1-4941-a51a-3a94f0ed816e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/OpenBoard-org/OpenBoard/wiki/Changelog
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 627fa55c75172db6ed7c50bf899e40a5c4ea04d042f7372d40b81fc613cf5bae
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-24T19:53:21.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         : Gdk6lLvLhK8aAzCHK7R0nH3TJNk7X/bmqbmoTu8YmJVotLiCCPrsVbpff93G+siHnv9QyKG8RkT/vKK3RnDeA0WxEf2vnuR/FZifQjjZxwqowVsnDsh2LcnWEOr1IKhel/mBZUiQp/Ro73W4c3b8ZOs+4FxNkiGzvirb/M1Mto3bZdUErQnIXYyZUo7ZCm4Bd1dEUkiUw1nEZVGsAAg5/W3RKuahBJsu6DuY3FRh+XhJNzCRBfesLpqP0oXwKoX3Xz0EeyykGkKNmUMVnvkWYh8J3quEfktPKd624HxytXcq0sRGbLQIuB1VmjYM1/3QenPeAOozn8UWSX0d2zOIWw==

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


def install():
    bin_name = glob.glob("OpenBoard_Installer_*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="{8CCA6AC7-BBF9-4DD2-8E70-A907E0FCA38F}}_is1",
        min_version=control.get_software_version(),
    )


def session_setup():
    # "C:\Users\username\AppData\Local\OpenBoard\OpenBoardUser.config"
    user_conf_dir = makepath(user_local_appdata, "OpenBoard")
    user_conf_path = makepath(user_conf_dir, "OpenBoardUser.config")
    if not isdir(user_conf_dir):
        mkdirs(user_conf_dir)
    if isfile(user_conf_dir):
        if inifile_readstring(user_conf_path, "App", "EnableAutomaticSoftwareUpdates").lower() != "false":
            print("Disabling: automatic updates")
            killalltasks(control.get_impacted_process_list())
            inifile_writestring(user_conf_path, "App", "EnableAutomaticSoftwareUpdates", "false")
    else:
        print("Disabling: automatic update check")
        killalltasks(control.get_impacted_process_list())
        inifile_writestring(user_conf_path, "App", "EnableAutomaticSoftwareUpdates", "false")

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


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/OpenBoard-org/OpenBoard/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    version = json_load["tag_name"].replace("v", "")

    os_dict = {
        "windows": f'OpenBoard_Installer_{version}.exe'
    }

    for download in json_load["assets"]:
        if download["name"] == os_dict[control.target_os]:
            download_url = download["browser_download_url"]
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    if not version_from_file.startswith(version) and version_from_file != '':
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # 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)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

f864c922af6e693f49835f8391f214e74484c17af19c136e9819a76509b56a44 : OpenBoard_Installer_1.7.3.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
34a3a4f93cbe5c675069ec7f1afe6af7d7753b27479772faee64ed445931a2ff : WAPT/changelog.txt
d43924464c241ba717903628909d4ccaa62773859d1d91350270351a4ae1ec9a : WAPT/control
627fa55c75172db6ed7c50bf899e40a5c4ea04d042f7372d40b81fc613cf5bae : WAPT/icon.png
4724128e3d7f51eb6132b8de76c19ce54c109246dc7608fc1eeb6105989eb96b : luti.json
745b1926f641bb18b314ff8215dc95dfa7daba90aa89cbd449920e39c56edcc7 : setup.py
421c3d811ccc6fc2e1a8a642a8cda5203c0e4b19a1a3ccb4fd5616c434a687e1 : update_package.py

https://github.com/OpenBoard-org/OpenBoard/wiki/Changelog
1.6.3-5

Adding dependencies (tis-vcredist2013,tis-vcredist,tis-lavfilters)
Improving code
fix session-setup