
- package: tis-lightscreen
- name: Lightscreen
- version: 2.5-3
- categories: Utilities,Media
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Pierre COSSON
- editor: Christian Kaiser
- licence: GNU General Public License
- locale: all
- target_os: windows
- impacted_process: lightscreen.exe
- architecture: all
- signature_date:
- size: 7.57 Mo
- installed_size: 23.77 Mo
- homepage : https://lightscreen.com.ar/
package : tis-lightscreen
version : 2.5-3
architecture : all
section : base
priority : optional
name : Lightscreen
categories : Utilities,Media
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Pierre COSSON
description : Lightscreen is a lightweight screen shooting application for Microsoft Windows, used to automate the process of saving and cataloging screenshots.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 1.5
sources : https://github.com/ckaiser/Lightscreen/releases
installed_size : 23773184
impacted_process : lightscreen.exe
description_fr : Lightscreen est une application de capture d'écran légère pour Microsoft Windows, utilisée pour automatiser le processus de sauvegarde et de catalogage des captures d'écran.
description_pl : Lightscreen to lekka aplikacja do wykonywania zrzutów ekranu dla systemu Microsoft Windows, służąca do automatyzacji procesu zapisywania i katalogowania zrzutów ekranu
description_de : Lightscreen ist eine leichtgewichtige Screenshot-Anwendung für Microsoft Windows, die den Prozess des Speicherns und Katalogisierens von Screenshots automatisiert
description_es : Lightscreen es una aplicación ligera de captura de pantalla para Microsoft Windows, utilizada para automatizar el proceso de guardar y catalogar las capturas de pantalla
description_pt : Lightscreen é uma aplicação leve de captura de ecrã para Microsoft Windows, utilizada para automatizar o processo de gravação e catalogação de capturas de ecrã
description_it : Lightscreen è un'applicazione leggera per Microsoft Windows, utilizzata per automatizzare il processo di salvataggio e catalogazione delle schermate
description_nl : Lightscreen is een lichtgewicht schermopnametoepassing voor Microsoft Windows, die wordt gebruikt om het proces van het opslaan en catalogiseren van schermafbeeldingen te automatiseren
description_ru : Lightscreen - это легкое приложение для съемки экрана для Microsoft Windows, используемое для автоматизации процесса сохранения и каталогизации скриншотов
audit_schedule :
editor : Christian Kaiser
keywords : screen,shooting,screenshots,screenshot,cataloging
licence : GNU General Public License
homepage : https://lightscreen.com.ar/
package_uuid : 9709bb82-4b8f-4a66-b783-324e174a4729
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 5.0
max_os_version :
icon_sha256sum : 0426bce0c60ed188732bcef7a9f6f2c5ac5b2b4a63af70b9aeec7d2505273218
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : UvnuaRMAmorDywZmB5LyJ7p3lcE5uOA88jkBIrQjOpV03QvotSk6/BLl3xTbSq5ZHD9M43elGy/owpWOKoplczBR3qwt9bo5WnL1IMMlpNhC9Cs/ks8M6XwwSp8WLxx9p9B0pBtqWCDCs8p8RxBds/wrk7msgwdmdKr1dz3sWFLdGNJtI5sYjNK4xigcbqTcnxqTePpR3PG9EFzxTetEoQj0Cv5nHRHkRNkBQPvE9j2Xg69Gr9rwPZmZcYou6A3uaGMPUmrX0rUfq9GenD55oRs+niry7kmKE4y955w3pXG0YLeocQp5HmWSrFaWqbOVlPaqfwDvGo7opCMulCKtbg==
signature_date : 2022-09-26T10:03:06.289997
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 *
# {4A59754E-D644-4F84-9768-41F68053F08E}_is1 Lightscreen version 2.4 2.4 "C:\Program Files (x86)\Lightscreen\unins000.exe"
# Declaring specific app values (TO CHANGE)
bin_contains = "LightscreenSetup"
silent_arguments = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /LAUNCHAFTER=0"
uninstall_key = "{4A59754E-D644-4F84-9768-41F68053F08E}_is1"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.exe" % bin_contains)[0]
print("installing tis-lightscreen")
impacted_process = "lightscreen.exe"
for uninstall in installed_softwares("lightscreen"):
if Version(package_version) > Version(uninstall["version"]):
print("Uninstall %s" % uninstall["name"])
killalltasks(impacted_process)
cmd = uninstall_cmd(uninstall["key"])
run(cmd)
install_exe_if_needed(
bin_name,
silentflags=silent_arguments,
key=uninstall_key,
min_version=package_version,
)
killalltasks(impacted_process)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
result = False
bin_contains = "LightscreenSetup"
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://api.github.com/repos/ckaiser/Lightscreen/releases/latest"
sub_bin_name = bin_contains + "%s"
# 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 bin_contains in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
# if not version_from_file.startswith(version) and version_from_file != '':
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, bin_contains + version_from_file + ".exe")
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
830d7812e997fb8ae47930bbd8d2e8713a46e7475e3bfa964bda7990204bd2f5 : setup.py
0b247dcc11de4b3e29a9190c67bfb2e077b0a16cdf0c2845d32c74089c8c6bcf : update_package.py
0426bce0c60ed188732bcef7a9f6f2c5ac5b2b4a63af70b9aeec7d2505273218 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
c3a22cfc8e6b6b672d23abf7946e19f7e62415192e4d724a558e931d39a32cab : WAPT/changelog.txt
dacef3701a0db6079d0d2e51d74d5862bec7c6192f56e4f4b133802dad764f69 : luti.json
626479bfd6b160df9be29ff169937575e371b50d258c2ad51bf4dcbd8e8251aa : LightscreenSetup-2.5.exe
028cbeceb8d73bac9f0aec6d0b50ef7f370c3d5e986e0ac732033997c424ed2f : WAPT/control
2.5-3
===
Split update package