- package: tis-rainmeter
- name: Rainmeter
- version: 4.5.20-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.20-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 : a70d28ef-6175-497b-84fe-938a09baece3
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : PxHXeYbLauC2lNhNMpS8uv3WlA0ZEdtptKs1/k4/dqOe5L220zLocT3qmX7s34kJhCY/QsdXrMCq/DpZsRK89xlSFy3UrW1vz6+yMKlsO1Y5U2YHfIMd1sIatQHuEQ6E3yDQNQzSUbC+LVvUUfXKJRdW3JIY5vUw1AGtLGs7AzUdaF75vAaRAl/TSJVoFoe0yvyuEn7DKaohqNk8n6+TzTZrp5UcxHzYYDcRzhgfU9cNpkwkNWerHdkcTSTdwsWc087ebgw9v1bvIfUj5MJ/pZI5u4/+k184rxd/3usDuSVnbf8GLoMP42tOoEaz35rDr5Symb66nUI/tUW9U261Ww==
signature_date : 2024-09-01T17:05:42.242173
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
9024b3b01b3883af3e12c3023ca9f7569893d25bb8154d785ac5737c7fff3ac9 : Rainmeter-4.5.20.exe
63d9e079a20775b98b91fed8f7d4f4f7f06619b28727bc3fba1bc30a4d3aa337 : setup.py
0f0dbcc193dd0ba845283bc49185e85882fedf8f1ef231881c0b777d18316489 : update_package.py
de316eb45a3be5569e2f61dbd7f3ecf74addb1627d0d4407eca957b70161d320 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
4da8f889704f5fd5f2fe47996975bb03a9ab548e3e5df35ebda37e30822bef00 : luti.json
b79763a8537c1763964c665d1b9391fd92ecaf0e5d951c95dbf0efc8dde134b1 : WAPT/control