tis-kopiaui icon

KopiaUI

Silent install package for KopiaUI

0.22.3-2
System and network
System and network

  • package: tis-kopiaui
  • name: KopiaUI
  • version: 0.22.3-2
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Kopia Authors
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • locale: all
  • target_os: macos
  • impacted_process: KopiaUI
  • architecture: all
  • signature_date:
  • size: 145.18 Mo
  • installed_size: 307.64 Mo
  • homepage : https://kopia.io/

package           : tis-kopiaui
version           : 0.22.3-2
architecture      : all
section           : base
priority          : optional
name              : KopiaUI
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Kopia is a fast and secure open-source backup/restore tool that allows to create encrypted snapshots of your data and save the snapshots to remote or cloud storage of your choice, to network-attached storage or server, or locally on your machine
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.3
sources           : 
installed_size    : 307639663
impacted_process  : KopiaUI
description_fr    : Kopia est un outil de sauvegarde/restauration open-source rapide et sécurisé qui permet de créer des instantanés chiffrés de vos données et de les sauvegarder sur un espace de stockage distant ou dans le cloud de votre choix, sur un serveur ou un espace de stockage connecté au réseau, ou localement sur votre machine
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Kopia Authors
keywords          : backup,restore,security
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : https://kopia.io/
package_uuid      : be563fd2-3447-418a-894c-255ab7506cc5
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/kopia/kopia/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5da6636074ac0769beb17089bcfc6f0f8201888e944a306938894994fcd8a4ff
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-12-07T13:12:29.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         : dRtviGCGWjPMj733vGSZ4HGXj5CIsSevah18mtW/mSLZbjfM5hxyk27tK3El0hPYI87FWTAE3lTYWZWu8mfRQ7EbrM/mobz17WC66oNCG7ymTvJM7S+h2vfG/B0dvkl97FbkzshoKrDmQ17xz6072BK/pzT7HpEj4IGWscFkRxC4b28xDnxVHmRpc3jm5WeWQiEhCmVEX7bRiIolvyO0usXoM3cDFtnjRzLXjH6gO0jtl1aLEovQlz7P0rLCkeaP0FRdbVnqPVEMHUfU5acFsM793UFVKuiDXVBxvLCD9BZ4F8UcP0LGa8Ysnahc6l06Jamqc40bnb3RBCEWdLjdEA==

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


def install():
    install_dmg(glob.glob("KopiaUI-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/KopiaUI.app")

# -*- coding: utf-8 -*-

from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".exe", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/kopia/kopia/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    dmg_found = False  # Flag pour indiquer la découverte d'un fichier .dmg
    for release in releases_dict:
        if dmg_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".dmg") and update_dict[control.target_os] in asset["browser_download_url"] and "arm64" not in asset["name"].lower():
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"].replace("v","")
                dmg_found = True  # Mettre à jour le flag pour indiquer qu'un dmg a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file(f)

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

    control.set_software_version(version)
    control.save_control_to_wapt()

835290f49c602f51775f0a61dea59f8c4aeecbebaa038eda2e208aaba8b74add : KopiaUI-0.22.3.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
68ce109c885c226e902fb76bc76f426c1c07104384bafe7f7a6eebeaabbbbf46 : WAPT/control
5da6636074ac0769beb17089bcfc6f0f8201888e944a306938894994fcd8a4ff : WAPT/icon.png
388cfe8337811d3cc5f5cd48c15604ee7d6b2f76fe982896531f4e8011046dfd : luti.json
3c0310a06ba212374db0afcba0080d8cfca27410d7920597641b9348244e282e : setup.py
33b65784e3fdba93ef16419a9930264d1b00c77dc152a537c594b3e0475c16b9 : update_package.py