tis-0install icon

Zero Install

Silent install package for Zero Install

2.25.12-1

  • package: tis-0install
  • name: Zero Install
  • version: 2.25.12-1
  • categories: Configuration
  • maintainer: WAPT Team,Tranquil IT,Clément Baziret
  • licence: opensource_free,wapt_public
  • target_os: windows
  • impacted_process: ZeroInstall
  • architecture: all
  • signature_date:
  • size: 13.18 Mo
  • installed_size: 32.73 Mo
  • homepage : https://0install.net/
  • depends:

package           : tis-0install
version           : 2.25.12-1
architecture      : all
section           : base
priority          : optional
name              : Zero Install
categories        : Configuration
maintainer        : WAPT Team,Tranquil IT,Clément Baziret
description       : A decentralised cross-platform software installation system
depends           : tis-dotnetfx
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://docs.0install.net/
installed_size    : 32732999
impacted_process  : ZeroInstall
description_fr    : Un système décentralisé d'installation de logiciels multiplateformes
description_pl    : Zdecentralizowany, wieloplatformowy system instalacji oprogramowania
description_de    : Ein dezentrales, plattformübergreifendes Software-Installationssystem
description_es    : Un sistema descentralizado de instalación de software multiplataforma
description_pt    : Um sistema descentralizado de instalação de software multiplataforma
description_it    : Un sistema decentralizzato di installazione di software multipiattaforma
description_nl    : Een gedecentraliseerd cross-platform software installatiesysteem
description_ru    : Децентрализованная кроссплатформенная система установки программного обеспечения
audit_schedule    : 
editor            : 
keywords          : decentralised,cross,platform,software,installation,system
licence           : opensource_free,wapt_public
homepage          : https://0install.net/
package_uuid      : 49bf3b31-1486-4839-8d88-1c45a77ffeb8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4f7616d8b7e04ca1e372a0a124529ae5e1e3f4012a5d2bd9a5aaf23ac3a3744c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-23T08:00:45.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         : ROrLEohYBiSn7qFrl3d6wyPbgIm3RVBDHuHzpEVEF00nWz1J9BR718JKbItG/Of+XUqd43hkNzYUjuTGH/lYUUS0EuqNZNwMQ564z6EuS2HpfhydwrAl1UkwanuvI/Ng47FLDbadjdr+K3mV1wsFNoiJ3imK0NPoKu2pOJqUqFgpX1580euL2lhItGyMEqxfEf9J5UoJFMMYYDj7vny1mirGKI0qBH0P+cE6CEuUdLpXpmyoZPd2B9wemQBWcypqMPciOhLHCSf5Kwqcv2FsqaEAn9Dndiwu0IUPkheRKQOPh3T9BjaDVio3qJitmZ+OMPdK+2EiOrjeSyOQnh1B3Q==

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


def install():
    bin_name = glob.glob("0install.exe")[0]

    def get_version(key):
        return key['version'].split('+')[0]

    # Installing software

    install_exe_if_needed(
        bin_name,
        silentflags=f"--offline self deploy --machine",
        key="Zero Install_is1",
        remove_old_version=True,
        min_version=control.get_software_version(),
        get_version=get_version
    )
 

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

import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    for bs_search in reversed(bs_find_all('https://apps.0install.net/0install/0install-win.xml','implementation', proxies=proxies)):
        if 'stable' in str(bs_search):
            version = bs_search['version']
            break

    download_url = f'https://github.com/0install/0install-win/releases/download/{version}/0install.exe'
    latest_bin = '0install.exe'

    # Deleting binaries
    for f in glob.glob("*.exe"):
        print("Removing: %s" % f)
        remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)

    print("Downloading content for offline install")
    run(f".{os.sep}{latest_bin} --prepare-offline")

    # Checking version from file
    version = get_version_from_binary(latest_bin)

    control.set_software_version(version.split('+')[0])
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Validating update-package-sources
    return package_updated

0dbb4a8f6a2a7b668421423be94f34b97f6669dd90906fe96e1d72c4528ac83f : 0install.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dce4dd4187869fb285e8d450a5be12ad3036bfd8d8874f5ac2d389a675fb6612 : WAPT/control
4f7616d8b7e04ca1e372a0a124529ae5e1e3f4012a5d2bd9a5aaf23ac3a3744c : WAPT/icon.png
18281a2905e809b3cd69c53dda8c81b796a2bf3e0e9a121e83dc131a181a0299 : content/59AA3927C24E4E1E.gpg
c60b92916afefe72f731f31d57c5f487eef296322baa4cb075cc120e9a09ed4c : content/https%3a%2f%2fapps.0install.net%2f0install%2f0install-win.xml
c4ea56868b7371fc26dd74ea2551a028b7fbc4cbb8096d2cae01bdcc38796c5b : content/https%3a%2f%2fapps.0install.net%2f0install%2f0install.ico
be73a0715d8ce77e8e8c403a8511f9e9706dcddc84a3cde8cac9e9847b101563 : content/https%3a%2f%2fapps.0install.net%2f0install%2f0install.png
470bb1c0e42ea6ec8269cf1d8da9298e599cd982e33c57b7e0b7819cbad4a48a : content/sha256new_JSWQBZDXN4NWNGF34LLDUVHIPY3CQCW7TUBIBTHB7NIA463CLTJA.tgz
98c889daafccb1679d0b714f7bdbbc2a0ff48897331fdfe30bfb8484d34ffbf9 : import.cmd
c88cbeb0793d24fb14efba057d84150b100ea9f1fd626d79a9c068f8ea95e5f9 : luti.json
ae3acad3dc08a026c010bcd2d9733d51100be42a7733e002e39a8fe0192277ab : setup.py
6742505dabeb5ce00f1bb172b7f33278ed974a9640b569ed70ef20151ec3989b : update_package.py