- package: tis-rainmeter
- name: Rainmeter
- version: 4.5.19-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.50 Mo
- installed_size: 6.86 Mo
- homepage : https://www.rainmeter.net/
package : tis-rainmeter
version : 4.5.19-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 : 757d5603-9d86-42d0-8304-4aed4749aeda
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : rQtmzAdbnsQdHfcxjEoO5AHCMuenEcz1NWYTY+8siUATJPGc/D7ZSDHHemo2i5Ssd5GCh8cGRkK81shWco3wGo5Y8d6R6ukhGHBsyuDRzdk02KiqQ29jxQRTSE3l5ZF2+dRFv9IsjZnF7bdqsnE6peCsN4G/3UJhyDJEb77pzROx/DruLPqzSlEU7ZlstNhf3W6QGM4WE35E/31mKfvaZ0NgJgNWs4UOgwWpaq4kw66TRzbzKYY1Z9VA1RUYlp4gPqfYXPMgB6oT7F56WY+vFxdc/pEfpMyOtxOegUnhY7OVru58a+NZrn7fU6ILaBKgFV48aj9VHzQMht7k5B3lyw==
signature_date : 2024-08-14T08:03:48.274770
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
# -*- 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
63d9e079a20775b98b91fed8f7d4f4f7f06619b28727bc3fba1bc30a4d3aa337 : setup.py
6ab256e981c846937bb79d701140504d1e077987a211b72780dcb4d18355317d : Rainmeter-4.5.19.exe
0f0dbcc193dd0ba845283bc49185e85882fedf8f1ef231881c0b777d18316489 : update_package.py
de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
6f62bc2d161fb01890895d27991be0fec37ca6903f970b483926583da6a385db : luti.json
a5a0a6f0f242922196a18b7f4fbc0b22c620f0cd18e03439b057310dbeabf033 : WAPT/control