tis-rainmeter icon

Rainmeter

Paquet d’installation silencieuse pour Rainmeter

4.5.21-0

  • package: tis-rainmeter
  • name: Rainmeter
  • version: 4.5.21-0
  • categories: utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre COSSON
  • editor: https://github.com/rainmeter
  • licence: GPL 2.0
  • locale: all
  • target_os: windows
  • impacted_process: rainmeter
  • architecture: all
  • signature_date:
  • size: 2.51 Mo
  • installed_size: 6.86 Mo
  • homepage : https://www.rainmeter.net/

package           : tis-rainmeter
version           : 4.5.21-0
architecture      : all
section           : base
priority          : optional
name              : Rainmeter
categories        : utilities
maintainer        : WAPT Team,Tranquil IT,Pierre COSSON
description       : Rainmeter is a desktop customization tool for Windows.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/rainmeter/rainmeter/releases
installed_size    : 6864896
impacted_process  : rainmeter
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : https://github.com/rainmeter
keywords          : 
licence           : GPL 2.0
homepage          : https://www.rainmeter.net/
package_uuid      : 4fe2cf7d-88ba-4efe-a95a-7f61193788df
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-09T22:00:57.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         : wNQfbb1vAJFL3F2WRT+d1VgN5mBVhBHVYYqieztXoHqaGnnYlx9DxSGvvm6KSkfyTFfiHHzid6egGYk+PqN4mwFZJ4Y68TR/Vdn2mhbfUeqXyp7xfw9NDU1z1TjJadUBo8VvUslFV51ZNVvFXH1J19XlYMdG7HmaLnNYbN9cjZJgQQzQNZvF/RV8823XzWg0Id07uhLSUk9ZhXaA++wK9hxpz6yAvYNz9PDoSy1TpK2Fp/M+l8sxWO9wBp5CYQVF1WOOf9ZvCCSj8shd8W3YzI0aF+zdYSDHXGgkkvPID47bXONK1IduGwOaU7yYfwxnHseJqaXl/Gek5r+SxXQa7A==

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

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


def install():

    install_exe_if_needed(
        glob.glob("Rainmeter*.exe")[0],
        silentflags="/S /RESTART=0 /AUTOSTARTUP=1",
        key="Rainmeter",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/rainmeter/rainmeter/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if ".exe" in download["name"]:
            download_url = download["browser_download_url"]
            version = download["name"].split("-")[-1].replace(".exe", "")
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_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)

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

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

ee7dce6ed4f591210b70134a24c4fd0159fe46a5de0f3726e0dc618b7bda51e2 : Rainmeter-4.5.21.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
b56dc5291b95bb7ad205dd9da5a7beb17769f23426a3e90c7ba5d2c4da87df01 : WAPT/control
de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320 : WAPT/icon.png
3ee485a210ab9e801763ac63876423b20a2d953df0968acfd4740b810613177d : luti.json
63d9e079a20775b98b91fed8f7d4f4f7f06619b28727bc3fba1bc30a4d3aa337 : setup.py
0f0dbcc193dd0ba845283bc49185e85882fedf8f1ef231881c0b777d18316489 : update_package.py