File Converter
Paquet d’installation silencieuse pour File Converter
2.0.2-2
- package: tis-file-converter
- name: File Converter
- version: 2.0.2-2
- maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet
- editor: Tichau
- target_os: windows
- impacted_process: FileConverter.exe
- architecture: x64
- signature_date:
- size: 54.86 Mo
- installed_size: 137.10 Mo
- homepage : https://github.com/Tichau/FileConverter
package : tis-file-converter
version : 2.0.2-2
architecture : x64
section : base
priority : optional
name : File Converter
categories :
maintainer : WAPT Team,Tranquil IT,Joffrey Le Piquet
description : File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu of windows explorer.
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources : https://github.com/Tichau/FileConverter
installed_size : 137097673
impacted_process : FileConverter.exe
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Tichau
keywords :
licence :
homepage : https://github.com/Tichau/FileConverter
package_uuid : fdcc155a-6636-42b2-b282-87732cdd439b
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 08254a112b767edb7dc694bba4e9be2a15004eef153765ee918ad0fdc0e942fc
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-05T09:00:39.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 : HKbxQGp4eTxZtkYPRj2ZYxsDIK1/iK8MuUj8uSHW9Pg8V+ru0u/OHcBp1LXOjJs6gkWY6YqXFHvWvX2P/FpA0Pobtdzlhfs/V11ntPq+jUuZ+orHVSCIUeDbFYKVGXYIQo4gnqqaERjilnvOwYDXjjKiHZOz3q85fEwE8Xm3jACbjDmv0CJhbd5c7htLjI5mNl0UJw5ZAj0O7RsJfrNBBsN0j7a+6FhLcsXe723moHHrVR4cVU5xj7sDi6lnjyx0V3bzz//yCi0eWh3NoREETED9IGSQouvGlnj3PlVlyCjrxaKxcEBL2kaMwFn9BCw8fTE8w3AVnB3ndYvoqKcNng==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Declaring local variables
# Installing the software
msi_file = glob.glob("*.msi")[0]
install_msi_if_needed(
msi_file,
min_version=control.get_software_version()
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
api_url = "https://api.github.com/repos/Tichau/FileConverter/releases/latest"
bin_contains = ".msi"
# 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 bin_contains 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)
# 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
9927db55e71cafbebe558d9711c8ca28739fdfd2b787afc6db58255dede927c6 : FileConverter-2.0.2-x64-setup.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2b17119feef31671874eeaf71da9fe91b0bd511df866c59b4750ccff1c9f9633 : WAPT/control
08254a112b767edb7dc694bba4e9be2a15004eef153765ee918ad0fdc0e942fc : WAPT/icon.png
90e3214a6e0380710d0c0c4a005db49327a67a1574c4e9d9602fa22f5e16bb63 : luti.json
dcfaebdf5ba6d079924fb0ab0c7615d35f0668c8da76470357b5a4821d9094c5 : setup.py
3cabc55afa8ae6144da59537d09046720e8d1d3c2cfc799bdde4d8c94b933e2f : update_package.py