- package: tis-localsend
- name: LocalSend
- version: 1.15.4-3
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- editor: Tien Do Nam
- licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
- locale: all
- target_os: windows
- impacted_process: localsend_app
- architecture: x64
- signature_date:
- size: 12.19 Mo
- installed_size: 41.35 Mo
- homepage : https://localsend.org/fr
package : tis-localsend
version : 1.15.4-3
architecture : x64
section : base
priority : optional
name : LocalSend
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : LocalSend is a free, cross-platform file sharing tool that allows to share files to nearby devices
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://localsend.org/fr/download
installed_size : 41352045
impacted_process : localsend_app
description_fr : LocalSend est un outil de partage de fichiers gratuit et multiplateforme qui permet de partager des fichiers avec des appareils proches
description_pl : LocalSend to darmowe, wieloplatformowe narzędzie do udostępniania plików, które pozwala udostępniać pliki pobliskim urządzeniom
description_de : LocalSend ist ein kostenloses, plattformübergreifendes Dateifreigabetool, mit dem Sie Dateien an Geräte in Ihrer Nähe weitergeben können
description_es : LocalSend es una herramienta gratuita y multiplataforma que permite compartir archivos con dispositivos cercanos
description_pt : O LocalSend é uma ferramenta gratuita e multiplataforma de partilha de ficheiros que permite partilhar ficheiros em dispositivos próximos
description_it : LocalSend è uno strumento di condivisione di file gratuito e multipiattaforma che consente di condividere i file sui dispositivi vicini
description_nl : LocalSend is een gratis, platformonafhankelijk hulpprogramma voor het delen van bestanden naar apparaten in de buurt
description_ru : LocalSend - это бесплатный кроссплатформенный инструмент для обмена файлами на соседние устройства
audit_schedule :
editor : Tien Do Nam
keywords : file,sharing
licence : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage : https://localsend.org/fr
package_uuid : 3753e945-b39a-49ec-be2e-60c3bea6d407
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 8e42288d1834bfc6a8c3f4defd854a8a840f5206b6ec5d46f179c9504923b80e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : Z/c47iyDFZ3hu65ltzORUxcuZsXFer2RD/9+PAdfoO6WPnT2VriQoswRN1RAg6N/U+frN27DbGbjrS0dZ0twZoORVLxio5mRyc3HybuR36u25vxCMdNnv2NhHyVTrjPhrCHQYlmsMf1ssO9eSJBhCCecudxtMJZyp1xXTGBH5QHhaF7pD2RoHv+EIzV///7FDg7Lgau90bfPjddfoabnqzGSD0svWRoub8NhGnNZrjXLS5kuy92bGJbS6rJ2AmOHc3DTZw5ifXTc5HtJ8P9epV4OSUgezeKtZQWQeZKir0SMziXVaS83IOgjYcUEpfdCTasEDnDXOOEZAFsBNzfulg==
signature_date : 2024-08-25T03:00:10.266102
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 *
def install():
bin_name = glob.glob("LocalSend-*-windows-x86-64.exe")[0]
install_exe_if_needed(
bin_name,
silentflags="/VERYSILENT /ALLUSERS",
min_version=control.get_software_version(),
key="{00809252-FEC6-448E-83B4-E7F55AE7E47D}_is1",
timeout=600,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
api_url = "https://api.github.com/repos/localsend/localsend/releases/latest"
update_dict = {
"windows-x64": "windows-x86-64.exe",
}
# url = update_dict["url"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# latest_bin = update_dict["latest_bin"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# download_url = update_dict["download_url"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = wgets(api_url, proxies=proxies, as_json=True)
version = json_load["tag_name"].replace("v", "")
for to_download in json_load["assets"]:
if update_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
if ".exe" in to_download["name"]:
download_url = to_download["browser_download_url"]
latest_bin = to_download["name"]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.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)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) == Version(version, 4):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
b5bbd03a4bd5861746cbcc85e7c5130964179fcafacd068b6ce7cfb1f770303c : setup.py
44d1b6899b1a143ef5d3801f83ac7602d3ec5298671ad38616aeb23ef916df9c : LocalSend-1.15.4-windows-x86-64.exe
4f8b3a65d1740d1ca5f3d7bc4b39652ce0f70249124596b423735e79319b71b1 : update_package.py
8e42288d1834bfc6a8c3f4defd854a8a840f5206b6ec5d46f179c9504923b80e : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
479dc9159174802173d4d5075de6f6a099cbc9d852a4faa209b6ad340a35131f : luti.json
aecf9bf2bb36aca1ece8ee85d95d38986825db2747ebdc3c36953631ec9e55c0 : WAPT/control