tis-rainmeter icon

Rainmeter

Silent install package for Rainmeter

4.5.23-0

  • package: tis-rainmeter
  • name: Rainmeter
  • version: 4.5.23-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.52 Mo
  • installed_size: 6.86 Mo
  • homepage : https://www.rainmeter.net/

package           : tis-rainmeter
version           : 4.5.23-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      : 009f2f89-10c6-4eac-941f-56b9f6d4293f
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-04-17T19:00:14.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         : lu99zjfVm/dJuK0zf6Ulk37f+jtr1U6LXo+3xL2LKtt+GQAzb6phuSBL6nIMRXUpiCb+h6iK3WU31JPgBt0hIdtKCn7U3jkHQ7oafSglrkOE/4h12Py4W0yM5a+UlpW/plir2D+XhX+ycl3muZjec4nCJSieqqgMlpDuJYdYJay2rmG5NtK5AXSF1ALcJ/bg467V1yjUNeYRoj0U42XjCjivhP0N/qVARikIyZ8i5AiwWGqvs3PhA+JUMjDVQkDrnLXB40miNmqLJVNcjbV7XEsKi6zX2ZG7mPBytGwfFOd6Ii/2XhBAitMga7IzqBLtuZyOTvQmVP/Zmc45iWFTpg==

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

a613e59a8e51511330b9da874a2fc928266f44ca4febb117910001bb3d9c5e69 : Rainmeter-4.5.23.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
8650ee8f652a033603d50b940e9cad8433b517076a989b575116b9f2b82f0f9a : WAPT/control
de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320 : WAPT/icon.png
eefb9c24d80eaf5715b67272e3306e5e46348ce791abf01d6ccba138fa219395 : luti.json
63d9e079a20775b98b91fed8f7d4f4f7f06619b28727bc3fba1bc30a4d3aa337 : setup.py
0f0dbcc193dd0ba845283bc49185e85882fedf8f1ef231881c0b777d18316489 : update_package.py