- package: tis-chatgpt-unofficial
- name: ChatGPT
- version: 1.0.0-0
- categories: utilities
- maintainer: tisadmin
- editor: https://github.com/lencx/
- licence: Apache-2.0 license
- locale: all
- target_os: darwin
- impacted_process: ChatGPT
- architecture: x64
- signature_date:
- size: 5.22 Mo
- installed_size: 8.74 Mo
- homepage : https://github.com/lencx/ChatGPT/
package : tis-chatgpt-unofficial
version : 1.0.0-0
architecture : x64
section : base
priority : optional
name : ChatGPT
categories : utilities
maintainer : tisadmin
description : ChatGPT client with customized shortcuts
depends :
conflicts :
maturity : PROD
locale : all
target_os : darwin
min_wapt_version : 2.1
sources : https://github.com/lencx/ChatGPT
installed_size : 8744960
impacted_process : ChatGPT
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : https://github.com/lencx/
keywords :
licence : Apache-2.0 license
homepage : https://github.com/lencx/ChatGPT/
package_uuid : a72dd4fa-fdfc-4cf5-a53a-91f4e510178c
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/lencx/ChatGPT/releases
min_os_version :
max_os_version :
icon_sha256sum : 4da3e04ee2d7c3d2df8a790f6c8d4974abb1286d0bc3c24acfa9d00ad257304f
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : thlkiGy9K+qVUMyxzaY6sE7Qd/79KfHTPS/VsMQyJOTGjrIhE2N+Ych/5IxJBPIk/EWHRrsGwP2VhDZXZ9XDtRLJGfxa5c57Wj0RldkuYlgp1Z4kdewlSvX9T96ONt8UguKvvFMs/uc3CMCfVXv/jIlguh4UMygoEFRu/77z7Gu2nkNAcz0EP0MqwbmxH1rJMEz2GrpIMZVDMLiAuW8wX8VYg7iWyvw2F0ni9f1RDSUA453ONsuw3LU7YmVRVnOgKL23PeT60wcqnZmqZEVvUqSP5kiVqdpe5Q1xVXG05OrZ3NdpR1Xn0x8PvdOY4zix5SS2DSMVNq6yW2aqkkCDHA==
signature_date : 2023-05-30T10:02:39.736576
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_dmg(glob.glob("ChatGPT*.dmg")[0])
def uninstall():
uninstall_app("ChatGPT")
# -*- 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", "linux": ".AppImage", "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()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return package_updated
00e116561d88a9b9c67c088c3001f90ba415ab4df955b7ac1d9c7d735908ff73 : setup.py
998d15813194957de140a530605252fdf3f68fafdba1353706fa00d070c7c23d : ChatGPT_1.0.0_macos_aarch64.dmg
84be4b181333765d5c97aa0010f8f1b9eb47c006bfe45ecfcca12c4be199914b : update_package.py
4da3e04ee2d7c3d2df8a790f6c8d4974abb1286d0bc3c24acfa9d00ad257304f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
26a4e857cc5cd605c2dfb3a4a44ce3c3a57df467b828603cdd747d23f9144560 : luti.json
28ef41dd72be3a386cf52e2395b579641fa3d228a0ca0ea67cee52e1dde800fa : WAPT/control