tis-screentogif icon

ScreenToGif

Paquet d’installation silencieuse pour ScreenToGif

2.41.3-3

  • package: tis-screentogif
  • name: ScreenToGif
  • version: 2.41.3-3
  • 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: x86
  • signature_date:
  • size: 6.64 Mo
  • installed_size: 42.48 Mo
  • homepage : https://www.screentogif.com/
  • depends:

package           : tis-screentogif
version           : 2.41.3-3
architecture      : x86
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-dotnet9
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      : 45db0399-cc06-4023-bc01-df6398dc3f2d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2de120198b661147712339801159f0b4b9e38b9709aa9b8e89c8b1f180afb81c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-20T08:06:51.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         : rKEN3ZTG0crFkWiGfHbIYUr/0YF1IE5EZghRV63Z0FVL31015HQfODV1U+9Ih51+Y3euffBp2zAqQ8TUK4VETposQRu93kBTc3ofODMRA3yc/FM3QJ0/OsMs1ij7qMBhw6zDlwNGhcMokjMBcTOXh01yfUjc+CgeXChtCNQm82g6NhFgzHvV0zSxf7qrZXsJ+pPt+ae2sTw4nHmGhzQJ+Qn3o54lL5yDV251RSjjJCoelTm4pgHdueYk01KnakPE4sXlnOof3Nj5xjDgLgIW5nUvpNVY8PLKePAvEtL1iKkq7gGcBhn0KVuqwc1AAQfn6+vXsROucw/ERwXhoCBz4w==

# -*- 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)

8077131e9d9227598835bc3a923f511337409498591c229b8ae053af32cfa459 : ScreenToGif.2.41.3.Light.Setup.x86.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9cb6c1d410ddad10ecdc2b42db960a26be851d50c09f116f5b713a6a129db2d4 : WAPT/changelog.txt
7bf56866810c2184b1c3c8c55ff2b98ea76c096403f67467c951b612eafd816e : WAPT/control
2de120198b661147712339801159f0b4b9e38b9709aa9b8e89c8b1f180afb81c : WAPT/icon.png
efdbc8089bb4c3ae80a689f113c3628948ece9596200db623c80841b40efdd39 : luti.json
226aef3a4beecb80ef231408d623c477e0624d70c6516c3220f31181ce9fa081 : setup.py
de8637a7d6e15d49084a7fdd74ceb3736860f1bb8ee6533c94d941c7959db796 : update_package.py

-2
===
Now depends on tis-dotnet8