tis-puush icon

Puush

Silent install package for Puush

1.0.0.0-1

  • package: tis-puush
  • name: Puush
  • version: 1.0.0.0-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 1.09 Mo
  • homepage : http://puush.me/

package           : tis-puush
version           : 1.0.0.0-1
architecture      : all
section           : base
priority          : optional
name              : Puush
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : puush is a quick and simple way to share screenshots
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : puush est un moyen simple et rapide de partager des captures d'écran
description_pl    : puush to szybki i prosty sposób na udostępnianie zrzutów ekranu
description_de    : puush ist ein schneller und einfacher Weg, um Screenshots zu teilen
description_es    : puush es una forma rápida y sencilla de compartir capturas de pantalla
description_pt    : O puush é uma forma rápida e simples de partilhar capturas de ecrã
description_it    : puush è un modo rapido e semplice per condividere le schermate
description_nl    : puush is een snelle en eenvoudige manier om schermafbeeldingen te delen
description_ru    : puush - это быстрый и простой способ обмена скриншотами
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : http://puush.me/
package_uuid      : cbe3dbca-e0a2-4b90-910c-d46b6d864c42
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 1ec928089e3dc90f17628def693185f17acca2525a4c8fce912d8a13c275d81a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-13T14:06:00.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         : rPdjzGKLGaVSflnn53nVsxAaS6uGirc8a3LTvkwuKwHjWwt8MA7DES545epoCDD6a0gVZG2oCHcM9su47PXJOChxWgIlGqdVeXWKiG/3H6YNYjxZJFJIGwj8pTExS9uOCaTguS24mlHErkjf76JO6bW6ymYGQRHUW68X9mpNMtI/leZgoSZxM3emLahb+IxjSnL0d1pCUsTy3m6s6g9cadEu0cmxUDtn1qRw5L4YuWi0pd71poomJth8/AULggcKSAqnNLTPq4InKkeueQmymhwdtt1UyxrB/Jq8c5sZnvmpXr4/rZ+dNeTuWKF/5EK4Pla1Et48bYlNzxb/bgODFw==

# -*- 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
    
    install_msi_if_needed('puush.msi')




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



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

    download_url = "http://puush.me/dl/puush.msi"
    latest_bin = download_url.split("/")[-1]
    

    # 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)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a8f060fd21aa0a183f345999f3083281cf406cefeb0719dc463ce6e8c7543c4d : WAPT/control
1ec928089e3dc90f17628def693185f17acca2525a4c8fce912d8a13c275d81a : WAPT/icon.png
9aee5ec5372c32f85f8528972a32f8015c4b467c3470b8e1ea1f268eb98512c7 : luti.json
7132e492d5ed3c94c7a2b6649c4857d31c55aa942008f2a8f9d8122e8ff02569 : puush.msi
728b9b0ab6985314e88f7e1dd1cb141b45daf977e98e31a19feb65084f46c9b0 : setup.py
7156208f2d9c010fe9278f8063c7146a2cbafd03611c3a17f5515178b74c8ee6 : update_package.py