tis-tabby icon

Tabby

Paquet d’installation silencieuse pour Tabby

1.0.196-0

  • package: tis-tabby
  • name: Tabby
  • version: 1.0.196-0
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre COSSON
  • editor: https://github.com/Eugeny
  • licence: MIT
  • locale: all
  • target_os: debian_based
  • architecture: x64
  • signature_date:
  • size: 83.24 Mo
  • homepage : https://tabby.sh/

package           : tis-tabby
version           : 1.0.196-0
architecture      : x64
section           : base
priority          : optional
name              : Tabby
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Pierre COSSON
description       : Tabby is an infinitely customizable cross-platform terminal app for local shells, serial, SSH and Telnet connections.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.2
sources           : https://github.com/Eugeny/tabby/releases
installed_size    : 
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : https://github.com/Eugeny
keywords          : terminal,ssh,powershell,cmd
licence           : MIT
homepage          : https://tabby.sh/
package_uuid      : 2f861d78-8a9b-492e-b6dc-d6429f62368c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Eugeny/tabby/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0a9045ae61b2640b097348fd3a3ef0af49fecb4230ab14650b7e7d24fa1e5c47
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : VtvDz9lX9U8U0Pnspg1WJDRcck/EPhbAvJfT6Eqa3BBha4uBeNsS7fB5d6d5tC05mAFTFdJ9ij9ijDU2N11qPf5kS7TJQmMStIKHAdP1/aPU9pVZah97usUP6XVtUDeY6x0fW2vNN5XjQIsxmHb9EiTHEoojPUE5UOw9KbwU0eHssw9U0kZENCe0/HIdn7t42J1ml0cAQ6Rgfs3ENUNXrS2dBc7IjBvq29GbgJM4MXDtYba1NmP/+SWKY+Nm+ghxmO22FTng3+irqTBQsGe1wpJe619Q4oX+iDpBVJ4BJinbgV76SxHOy+Z/4W5dC+7uiGVT9GNVqSW53ZSrd/+KVQ==
signature_date    : 2023-03-27T03:02:11.368438
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():
    install_deb(
        glob.glob("tabby*-linux-x64.deb")[0],
    )


def uninstall():
    uninstall_apt("tabby-terminal")

# -*- 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()
    api_url = "https://api.github.com/repos/Eugeny/tabby/releases/latest"
    os_dict = {"windows": "setup-x64.exe", "debian_based": "-linux-x64.deb", "redhat_based": "-linux-x64.rpm", "darwin": "-macos-x86_64.pkg"}
    arch_dict = {"x64": "setup-x64.exe", "x86": "win32.exe"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load["assets"]:
        if os_dict[control.target_os] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            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)

    # 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

8f7afae7d91c3e5f81c3c3d7c60f27f1ba58777a3d58f42045ad8b59584df08a : setup.py
9029b8d68de186b4011bf36ce58717f88dccb0734e4602158c6931e9cc502d32 : tabby-1.0.196-linux-x64.deb
4e83483bd8c6d918d3a2410bf7057ebb3bb0506694decfc866ba5091939d59d6 : update_package.py
0a9045ae61b2640b097348fd3a3ef0af49fecb4230ab14650b7e7d24fa1e5c47 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
19672a453b60858b1fd3cd17990459cb6bb4f7a3255d48744b9193ea4a4daa9a : luti.json
b8f8ca82a467ae39ffd2821998b37f4a1d586f655b27cc2020263fc2081a8aa2 : WAPT/control