tis-chatgpt-unofficial icon

ChatGPT

Paquet d’installation silencieuse pour ChatGPT

1.0.0-1

  • package: tis-chatgpt-unofficial
  • name: ChatGPT
  • version: 1.0.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.26 Mo
  • installed_size: 8.74 Mo
  • homepage : https://github.com/lencx/ChatGPT/

package           : tis-chatgpt-unofficial
version           : 1.0.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      : 65b40d12-4320-41a2-86f4-c0ebecf4e69d
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         : J2VKPXYQ2CFkJtiNPTYzNLOB+yeWiMhOQAxIa97PdbAS6qypYOJ/jPDdXq17prOuuyiMa8uoKNt6vqGWz08KVxP5P7CsavEf3WJINnesesH2VHY96wtn1kaD6DiqkECGwxDxyGfdckJnahYyZoKEgX5on871dz1z5Ii4wO5wa0snBgJCVWv7zN/JGdhuG7A9AuMHe8cWqQJcnuc0tF1EdD6EYIgmsLRmN8XAQdgxKHpn6wQg3q4zsLuXo5OCxk/FAkZZz1qOpc2D4cFzR41YJMViD/bO5RiSXm6AgZV9W4N4JSFin98OmapqseziywdT1K5rkkmuuB5TJW0kvB4s9A==
signature_date    : 2023-05-30T09:57:13.544679
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
c13e6ff294f7630818a8e142fd22b33c5b5943a0ead6747c6812277b74562bdc : ChatGPT_1.0.0_linux_x86_64.deb
4da3e04ee2d7c3d2df8a790f6c8d4974abb1286d0bc3c24acfa9d00ad257304f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
2ef7d3d48b52e110946bf936814e921eb6995e682e6e473184f9511990f1cf48 : luti.json
6716ae4a7c3b390192719d4d3fd76307e38a9194b13d926afc52df3afb63b6ae : WAPT/control