tis-chatgpt-unofficial icon

ChatGPT

Paquet d’installation silencieuse pour ChatGPT

1.1.0-1

  • package: tis-chatgpt-unofficial
  • name: ChatGPT
  • version: 1.1.0-1
  • categories: utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre COSSON
  • editor: https://github.com/lencx/
  • licence: Apache-2.0 license
  • locale: all
  • target_os: debian_based
  • impacted_process: ChatGPT
  • architecture: x64
  • signature_date:
  • size: 5.28 Mo
  • installed_size: 8.74 Mo
  • homepage : https://github.com/lencx/ChatGPT/

package           : tis-chatgpt-unofficial
version           : 1.1.0-1
architecture      : x64
section           : base
priority          : optional
name              : ChatGPT
categories        : utilities
maintainer        : WAPT Team,Tranquil IT,Pierre COSSON
description       : ChatGPT client with customized shortcuts
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.1
sources           : https://github.com/lencx/ChatGPT
installed_size    : 8744960
impacted_process  : ChatGPT
description_fr    : Client ChatGPT avec raccourcis personnalisés
description_pl    : Klient ChatGPT z dostosowanymi skrótami
description_de    : ChatGPT-Client mit benutzerdefinierten Shortcuts
description_es    : Cliente ChatGPT con accesos directos personalizados
description_pt    : Cliente ChatGPT com atalhos personalizados
description_it    : Client ChatGPT con scorciatoie personalizzate
description_nl    : ChatGPT-client met aangepaste snelkoppelingen
description_ru    : Клиент ChatGPT с настраиваемыми ярлыками
audit_schedule    : 
editor            : https://github.com/lencx/
keywords          : 
licence           : Apache-2.0 license
homepage          : https://github.com/lencx/ChatGPT/
package_uuid      : 8fe54892-e7ae-477f-a534-3a0132b1c366
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/lencx/ChatGPT/releases
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 4da3e04ee2d7c3d2df8a790f6c8d4974abb1286d0bc3c24acfa9d00ad257304f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : a/xhR4LP8CD6IAHv1hRMSee6LVB1N6lbb0nADHNjwaZIa+XJ4c/waSQ+UsqE9jOgEpHozv/yvga8KGjjLZd1IOaWSnivbUXyRj36qe0+3JmD9Ou0sPsaoK+IRtzvLvNk+jqPNQSS02XFQZyJ394r+ymwhkY4PfeV/6F430z1mRhfJ2eJ1rJo8Dvtc7RxIhSuZ4i1BOvJqOAOROuHp2qB+vyStWhdqj7b+bfUKA1OKmfMJDK/NidWw8nuq0yCKA6E82FbgKspfwgeCGzoJb0rGcoD7/6Bfls2qY6VM4n484eHQ5VeikWTmBF2Nk+FpecU/039I5W2QmPcxHyc9yni0Q==
signature_date    : 2023-08-08T19:00:12.409245
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("Chat*GPT*.deb")[0])


def uninstall():
    uninstall_apt("chat-gpt")

# -*- 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/lencx/ChatGPT/releases/latest"
    os_dict = {"windows": ".msi", "debian_based": ".deb", "darwin": ".dmg"}
    arch_dict = {"x64": "win64.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()

    # Validating update-package-sources
    return package_updated

41d3da9795d55f0d993b485535c20f6874f10a679a99475b02860d382390b3cd : setup.py
ffd6d667089094c34b212f7ce3739c7eeec994e0c21e50a112e4eb7e7a7126d4 : update_package.py
4da3e04ee2d7c3d2df8a790f6c8d4974abb1286d0bc3c24acfa9d00ad257304f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4d06d202ca4633b573c0ddfe359cb039af941a7d77859c269dc81e1ddbd7c7d6 : luti.json
40290b7290b6fba6b8c58470ffa9bdc20c6077499aa3c058e71d60a69ad15544 : ChatGPT_1.1.0_linux_x86_64.deb
d1795911596aa72bff7804585db8aa4b798fe0abfbb1751631f3dba84e502908 : WAPT/control