tis-torrent-file-editor-portable icon

torrent file editor

Silent install package for torrent file editor

1.0.1-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-torrent-file-editor-portable
  • name: torrent file editor
  • version: 1.0.1-1
  • maintainer: Amel FRADJ
  • licence: GPL-3.0 license
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 6.57 Mo
  • homepage : https://torrent-file-editor.github.io/

package           : tis-torrent-file-editor-portable
version           : 1.0.1-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          : PREPROD
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      : c69ed467-6f07-401f-9138-ccc632db63ad
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-12T17:33:46.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         : aO4kKW+07ptGvjYDZLG4iRLrfdE2HKIslN+NzrQ7jCELvLT9eRjiUD9rQ3fQxBxca602EL61FvYVU+q6sFW5cxmQpYf+VIykUfNLTC5ynNnl/+ygU8dZw9FO//McfOZKLS9Jr9pyFtBTLDKlkpAdUHQntGLQQyzbS6nlS11FOHWG0Ff+qR2ELtf1S3IAdt/8odKhe3TgTpS7FBEliR212k54qvhXmeBCRt12SE35O+e8F3Uh+BE6dP0gccc/z6WoTa+t/4scAPsvDm7qFXCocEKV02O7E+6tbcKpcji3sSk6Dimi3jB73DvGVKf02wFqAGL8muzY/gQRKcvR2sxIPQ==

# -*- 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()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
1cf2d7a0a300ed1a6725d543d1adc834bcaeeab8a87c705583d87e3043a69d09 : WAPT/control
428b5f74581042b92994dbd7a79ae1311812bfe6ce0a3ac9938832954571e973 : WAPT/icon.png
3bcdaf4140d93ac577f0c335be66320b05f894bb715e8c5c1c3cfe5ad91f3512 : luti.json
eecc944a5b0dc5cbd6ad4a69a9a206739cccb63c3a56efc5ea9d1163bb93191e : setup.py
8ad356f5b8fa3bdcbc9ced615edeb13f245c212c77223845d5dd7fae3dfda40e : torrent-file-editor-1.0.1-x32.exe
7a0aa175a5bf63a79f00ea1f00abc1f5d9ab11463e86f7c2d8bca2ab43d833e3 : update_package.py