tis-screentogif icon

ScreenToGif

Paquet d’installation silencieuse pour ScreenToGif

2.41-2

  • package: tis-screentogif
  • name: ScreenToGif
  • version: 2.41-2
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: https://github.com/NickeManarin
  • licence: opensource_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: ScreenToGif
  • architecture: x64
  • signature_date:
  • size: 14.64 Mo
  • installed_size: 42.48 Mo
  • homepage : https://www.screentogif.com/
  • depends:

package           : tis-screentogif
version           : 2.41-2
architecture      : x64
section           : base
priority          : optional
name              : ScreenToGif
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Screen, webcam and sketchboard recorder with an integrated editor
depends           : tis-dotnet8
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/NickeManarin/ScreenToGif
installed_size    : 42479537
impacted_process  : ScreenToGif
description_fr    : Enregistreur d'écran, de webcam et de tableau blanc avec un éditeur intégré
description_pl    : Rejestrator ekranu, kamery internetowej i szkicownika z wbudowanym edytorem
description_de    : Bildschirm-, Webcam- und Skizzenbrett-Recorder mit integriertem Editor
description_es    : Grabación de pantalla, cámara web y tablero de bocetos con un editor integrado
description_pt    : Ecrã, webcam e gravador de sketchboard com um editor integrado
description_it    : Registra lo Schermo, la webcam e il tuo sketchboard e modifica il risultato con l'editor integrato
description_nl    : Scherm-, webcam- en schetsblokrecorder met geïntegreerde editor
description_ru    : Записывающее устройство для экрана, веб-камеры и скетчборда со встроенным редактором
audit_schedule    : 
editor            : https://github.com/NickeManarin
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.screentogif.com/
package_uuid      : d4f677ed-3b7e-4eec-9f1d-cdb2e21fd022
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2de120198b661147712339801159f0b4b9e38b9709aa9b8e89c8b1f180afb81c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : CAoJ1z1mt6kjA+zAdFdJYkpmkUTYr2o2p+oVtTssRnTUwDbcbQNLJ+ZFxXThI9xVRORFm86R69Qc76NKuk2kErVPujqCmMoXPArGAv6R5599OTzcTpMWxq19L+T5ywAOGnxIWx34YwzMJZ6ohjslpA+Net059dZR25GR/0SIcc3jhOdgC49plIWmRsd6vQG2muT1XdkZVN+BnD5MXs0OuDo6U8i2I/DMN9b6JMgClI6f26usF2zPqiLOqHdVTR8WEBc8QPETBUSdFXFSnwpKQPBfQKXN/dVaT0+rMXk6YryN0umVMBLrTaMFdH250RD2L8eHYtWOBGGFt38mS+Z5Gg==
signature_date    : 2024-03-29T22:00:30.648974
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

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


def install():
    bin_name = glob.glob("ScreenToGif.*.msi")[0]
    install_msi_if_needed(bin_name)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers 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/NickeManarin/ScreenToGif/releases/latest"
    update_dict = {
        "bin_contains": {
            "windows-x64": ".Light.Setup.x64.msi",
            "windows-x86": ".Light.Setup.x86.msi",
            "windows-arm64": "MicrosoftEdgeWebView2RuntimeInstallerARM64.exe",
        }
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "").replace(".windows", "")
    for to_download in json_load["assets"]:
        if update_dict["bin_contains"][control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            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)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({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

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

226aef3a4beecb80ef231408d623c477e0624d70c6516c3220f31181ce9fa081 : setup.py
de8637a7d6e15d49084a7fdd74ceb3736860f1bb8ee6533c94d941c7959db796 : update_package.py
2de120198b661147712339801159f0b4b9e38b9709aa9b8e89c8b1f180afb81c : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
9cb6c1d410ddad10ecdc2b42db960a26be851d50c09f116f5b713a6a129db2d4 : WAPT/changelog.txt
f782edf2f9815e4db61426f7a9626d4beeb7f79ef0a27082f3e8aaa38349e697 : luti.json
b7cdaeff5ffb6795953e6dbf48fc3ca09e90b5d839c44ec6a057637d48b5cb48 : ScreenToGif.2.41.Light.Setup.x64.msi
a3f25cd7b83fd0848e5fa82a1332c36c5461dcc2e308f660f072b27794056649 : WAPT/control

-2
===
Now depends on tis-dotnet8