
torrent file editor
Silent install package for torrent file editor
0.3.18-1
- package: tis-torrent-file-editor-portable
- name: torrent file editor
- version: 0.3.18-1
- maintainer: Amel FRADJ
- licence: GPL-3.0 license
- target_os: windows
- architecture: x86
- signature_date:
- size: 6.74 Mo
- homepage : https://torrent-file-editor.github.io/
package : tis-torrent-file-editor-portable
version : 0.3.18-1
architecture : x86
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 : 0525ac2f-e4a3-447d-8412-47aa8f6509cc
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : DSSwNo5vEPNPBH+qqSMQQ93rH2EAq/EK7mILMmLtPK8fVTVwoDeQec4MMfMXmxUr9BL+Q+2famZgDr8P18dS8JxmxFkrk80QnoNH8pLEhArlE3dXQY+z6qdLyHk9pCDUg2BeSX60e5UN8v7b62K23vhPwIuDU2w5L27IfZnr5qhPoe6a67g4WDE11nNojhqujUPT45OqsIHhQUI1ldOzFjDS2MfjH4JxpflHyEnqqQaxw/Ax3+IbXacuIz1UpEs7xrPxFxp6FA/s1+0RKnGAGeB2rxPlXKDhOcJy0COgU2fVMbBbiI9Kax8m3db5RGDDsw/K6YScCN1txinbYafl2A==
signature_date : 2024-06-23T14:00:31.076108
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 *
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()
eecc944a5b0dc5cbd6ad4a69a9a206739cccb63c3a56efc5ea9d1163bb93191e : setup.py
7a0aa175a5bf63a79f00ea1f00abc1f5d9ab11463e86f7c2d8bca2ab43d833e3 : update_package.py
bd646b27395f03f7ade2e4df6aa9d420c30b1b149f1a542d88a70d1aefdeff93 : torrent-file-editor-0.3.18-x32.exe
428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f8379fdd8cd9d04c9031b6987a581155b736852473f84c45e9cfef0a0185f69a : luti.json
90da2e957c3a0a08b5e17bec1242060f8dbf69e4e1ab7ac07eebd78d2c0e2009 : WAPT/control