tis-neovide icon

Neovide

Silent install package for Neovide

0.14.0-1

  • package: tis-neovide
  • name: Neovide
  • version: 0.14.0-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 13.00 Mo
  • homepage : https://neovide.dev/
  • depends:

package           : tis-neovide
version           : 0.14.0-1
architecture      : x64
section           : base
priority          : optional
name              : Neovide
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : A simple graphical user interface for Neovim
depends           : tis-neovim
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Il s'agit d'une interface utilisateur graphique simple pour Neovim
description_pl    : Prosty graficzny interfejs użytkownika dla Neovim
description_de    : Es handelt sich um eine einfache grafische Benutzeroberfläche für Neovim
description_es    : Una sencilla interfaz gráfica de usuario para Neovim
description_pt    : Uma interface gráfica de utilizador simples para o Neovim
description_it    : Una semplice interfaccia grafica per Neovim
description_nl    : Een eenvoudige grafische gebruikersinterface voor Neovim
description_ru    : Простой графический интерфейс пользователя для Neovim
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://neovide.dev/
package_uuid      : 0a817475-176d-4c32-8cb1-bee7886f70a7
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d8283e53dc30b7a05b7461668087d7bfff1bc2036be78e317f524a1b4f720372
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-08T12:28:31.000000
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
signature         : ihcBynued+PLC1Qn3TAegndpHQVN1xwkFoJzGwNQUe0ZMslZUc0uST4O7QCF+/KMIYek6OPK92Wa9N13fb9T/gFvIsDa6NrHH70rTDGIztmtVEabeHqCIY+r2Iu6EXO8wbptZ6FFzzBimmvK5UIqeFCwAx/EVlaa80f9nihjVnTFnAs+JaC7IgxT6Mx2Vv6LjlKkPgYoAVgzVF4I0A24yTXjdAdaJ+U8b99AVhSwp3alRt2PZC2OJcDYrRd2cypl0/hnefqcImSbvYdI0ZoV2ejmHoDxxj1EPcCYtTAcPiFS8GR8Krewk5cFxLJ263he0io6JEzM7rHgo0a7uK3Xlg==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables

    # Installing the software
    print("Installing: neovide.msi")
    install_msi_if_needed('neovide.msi')



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()

    git_repo = "neovide/neovide"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["name"].endswith('.msi') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break


    for f in glob.glob('*.msi'):
        if get_version_from_binary(f) < version :
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version = get_version_from_binary(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)))
        result = True
        control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
        # control.set_software_version(Version(version))
        control.save_control_to_wapt()

    # Validating update-package-sources
    return result

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dff9f4f13edf4da2bd2167bda16f9a0ec5d06ae09339f99da9559b1dad854ef3 : WAPT/control
d8283e53dc30b7a05b7461668087d7bfff1bc2036be78e317f524a1b4f720372 : WAPT/icon.png
6e6981fc5e698753722e8a1ec5425aca13e54aabff8470d81b6aff3733226045 : luti.json
f8889c2afac1cf41a35888646c057dee5cc0344aa386e01337dcad372ab6c11d : neovide.msi
45728fd48077be9d1bbf479fa4cd80534fce9fb3b2ff6a0d95b8294b19d4ab84 : setup.py
2379469f1a6fa23437f1268b0f95714e77c181deb71edc81a1c10dfb689e9fcb : update_package.py