
torrent file editor
Paquet d’installation silencieuse pour torrent file editor
1.0.0-1
- package: tis-torrent-file-editor-portable
- name: torrent file editor
- version: 1.0.0-1
- maintainer: Amel FRADJ
- licence: GPL-3.0 license
- target_os: windows
- architecture: x64
- signature_date:
- size: 6.49 Mo
- homepage : https://torrent-file-editor.github.io/
package : tis-torrent-file-editor-portable
version : 1.0.0-1
architecture : x64
section : base
priority : optional
name : torrent file editor
categories :
maintainer : Amel FRADJ
description : Torrent File EditorCross-platform application for creating and editing .torrent and uTorrent .dat files
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources : https://github.com/torrent-file-editor/torrent-file-editor
installed_size :
impacted_process :
description_fr : Torrent File EditorApplication multiplateforme destinée à créer et éditer des fichiers .torrent et uTorrent .dat
description_pl : Torrent File EditorPlatformowa aplikacja do tworzenia i edytowania plików .torrent i .dat uTorrent
description_de : Torrent File EditorPlattformübergreifende Anwendung zum Erstellen und Bearbeiten von .torrent- und uTorrent .dat-Dateien
description_es : Torrent File EditorUna aplicación multiplataforma para crear y editar archivos .torrent y uTorrent .dat
description_pt : Torrent File EditorUma aplicação multiplataforma para criar e editar ficheiros .torrent e uTorrent .dat
description_it : Editor di file TorrentUn'applicazione multipiattaforma per la creazione e la modifica di file .torrent e uTorrent .dat
description_nl : Torrent File EditorEen cross-platform toepassing voor het maken en bewerken van .torrent- en uTorrent .dat-bestanden
description_ru : Редактор торрент-файловКроссплатформенное приложение для создания и редактирования файлов .torrent и uTorrent .dat
audit_schedule :
editor :
keywords :
licence : GPL-3.0 license
homepage : https://torrent-file-editor.github.io/
package_uuid : 2856b1fe-51d8-440f-bf2f-db264a7ed41b
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-13T10:00:11.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 : KK6a5++KsRxDQP0iZMJcD/r3xIHiGWz5oxVrCY4fCsrEacfRWzRyWwc8FbYFlA+YF7cyiGNrNt83Rqk65a+/e9VyRNUOG8gp32ZX+cS5Mbz3WTsHpfgSdywRuVVF1qEhojROVu5omzCIzT/Lpu6x3uQei7XdhOIxM/6/W7r1Iosa+QPuFASTt2LCU0mxbWezdgZ967L0BfNA+uMmg8g4l3dBMAN42uqn3Z9YpffGNy1g+Idjvxvsbv97ABjNd7g81OO6mcRbaRnToYYFhkiTceIKyuAeUWg9ObyMFiEPFYVfzP/exUSwGb8U2xkORhkvEk4K5uex8ErQFNC6t5lb/A==
# -*- coding: utf-8 -*-
from setuphelpers import *
import glob
app_name = "torrent-file-editor"
app_dir = makepath(programfiles, app_name)
def install():
bin_name = glob.glob('*.exe')[0]
app_path = makepath(app_dir, bin_name)
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
filecopyto(bin_name, app_path)
# Creating shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
for uninstall in installed_softwares('torrent-file-editor'):
uninstall_string = uninstall.get("uninstall_string", "")
print(f"Uninstalling torrent-file-editor : {uninstall_string}")
run(f"{uninstall_string} --uninstall --uninstall -s")
wait_uninstallkey_absent(uninstall['key'],max_loop=600)
if isdir(app_dir):
remove_tree(app_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dict_arch = {
"x64" : "-x64.exe",
"x86" : "-x32.exe"
}
git_repo = "torrent-file-editor/torrent-file-editor"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith(".exe") and dict_arch[control.architecture] in download["browser_download_url"] :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.exe'):
if f != filename:
remove_file(f)
version = get_version_from_binary(filename).replace("v","")
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c7d45694673a37f2d0cf74be8c3dcb851d723afd501e4ac75b86876fef9f5d44 : WAPT/control
428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973 : WAPT/icon.png
3a693795b3125ff8ba523c46b29edd807c45def2f3ad7ac7b1e7abb598faf18f : luti.json
eecc944a5b0dc5cbd6ad4a69a9a206739cccb63c3a56efc5ea9d1163bb93191e : setup.py
0cf0e0d937cea5d8a8a9eefad03cbc2d179a0757ddf1ead4e53488ef989fab45 : torrent-file-editor-1.0.0-x64.exe
7a0aa175a5bf63a79f00ea1f00abc1f5d9ab11463e86f7c2d8bca2ab43d833e3 : update_package.py