tis-nextchat icon

NextChat

Silent install package for NextChat

2.12.3-1

  • package: tis-nextchat
  • name: NextChat
  • version: 2.12.3-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: NextChat
  • architecture: x64
  • signature_date:
  • size: 5.88 Mo
  • installed_size: 11.71 Mo
  • homepage : https://nextchat.dev/

package           : tis-nextchat
version           : 2.12.3-1
architecture      : x64
section           : base
priority          : standard
name              : NextChat
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : NextChat, previously known as ChatGPT Next Web, is a chatbot application that enables users to access advanced AI models from OpenAI and Google AI
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 11707436
impacted_process  : NextChat
description_fr    : ChatGPT Next Web, désormais connu sous le nom de NextChat, est une application de chatbot qui permet aux utilisateurs d'accéder à des modèles d'IA avancés provenant d'OpenAI et de Google AI
description_pl    : ChatGPT Next Web, obecnie znany jako NextChat, to aplikacja chatbot, która umożliwia użytkownikom dostęp do zaawansowanych modeli AI z OpenAI i Google AI
description_de    : ChatGPT Next Web, jetzt bekannt als NextChat, ist eine Chatbot-Anwendung, die Nutzern den Zugang zu fortgeschrittenen KI-Modellen von OpenAI und Google AI ermöglicht
description_es    : ChatGPT Next Web, ahora conocido como NextChat, es una aplicación de chatbot que permite a los usuarios acceder a modelos avanzados de IA de OpenAI y Google AI
description_pt    : ChatGPT Next Web, agora conhecido como NextChat, é uma aplicação chatbot que permite aos utilizadores aceder a modelos avançados de IA da OpenAI e da Google AI
description_it    : ChatGPT Next Web, ora noto come NextChat, è un'applicazione di chatbot che consente agli utenti di accedere a modelli avanzati di intelligenza artificiale di OpenAI e Google AI
description_nl    : ChatGPT Next Web, nu bekend als NextChat, is een chatbot-applicatie die gebruikers toegang geeft tot geavanceerde AI-modellen van OpenAI en Google AI
description_ru    : ChatGPT Next Web, теперь известный как NextChat, - это приложение-чатбот, которое позволяет пользователям получить доступ к передовым моделям искусственного интеллекта от OpenAI и Google AI
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://nextchat.dev/
package_uuid      : ca82d82d-cca3-4119-833e-6fb3f6e0fc0a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : f7b9a8e01d26f3bd892403e751af01cf816961d703653245f184e240a0f40681
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : P0IJQCl+cUhxm7q+Qb2csFsg8omR27GNwl3txUc+fKo4yJNVYeOFfqJoOaB51Iz3ovyjcAj2bq64EnVlyGO1hbYEI57mEVwyeZZEHysXkuWSepDs78EHy5r1i7p/KswCn8FkyHTTGR5uMz+SdS14snfLNhrogw2GuxkYLTQj34J4nlM1C0B7KBCZdwUYxS5MepT/C8ifvdFZ6Q/kjwfsr6Du3VdFIynyF2NmzrcH+EiiZA3gHz5/oH+gmt3JD9FwAo/+VYZT9cEjU78VxAw9R5kER0fqIkDVrN0YtZpDK+0TxcuhXtid9ZJNnf532UtHUV/+kh0zGlXvLoqj4Anngw==
signature_date    : 2024-05-28T15:00:09.587813
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():
    bin_name = glob.glob("NextChat_*_x64_en-US.msi")[0]
    install_msi_if_needed(
        bin_name,
        min_version=control.get_software_version(),
        timeout=600,
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/ChatGPTNextWeb/ChatGPT-Next-Web/releases/latest"

    # 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", "")
    for to_download in json_load["assets"]:
        if ".msi" 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) > 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

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

2726ac38aa868317ffd2bcb88354f5bad6c9379265d15455fb5890abbf0e749e : setup.py
175130f946fe83651358898fbfb941f3c06cd604c1c667f55da8d831ed2fdabc : NextChat_2.12.3_x64_en-US.msi
8d1a9278db05daa86e26b886968f4231a183d245198a6fd33f4c3ecb5eff8e2c : update_package.py
f7b9a8e01d26f3bd892403e751af01cf816961d703653245f184e240a0f40681 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
bca782f68a9c8c7ed02b72b55c2f2437892ec0dcec6d87d5d4433f38fa183c83 : luti.json
1485491fb2fb210fa00656224286911cca91080026c188d6c2c332c69e1ee98a : WAPT/control