tis-tumblthree-portable icon

tumblthree

Paquet d’installation silencieuse pour tumblthree

2.17.0-1

  • package: tis-tumblthree-portable
  • name: tumblthree
  • version: 2.17.0-1
  • maintainer: Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 1.94 Mo
  • homepage : TumblThreeApp.github.io

package           : tis-tumblthree-portable
version           : 2.17.0-1
architecture      : x86
section           : base
priority          : optional
name              : tumblthree
categories        : 
maintainer        : Amel FRADJ
description       : TumblThree is a free, open source Tumblr and Twitter blog backup application. It downloads photo, video, audio and text publications from a given Tumblr or Twitter blog
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : TumblThree est une application de sauvegarde de blogs Tumblr et Twitter gratuite et open source. Il télécharge des publications photo, vidéo, audio et texte à partir d'un blog Tumblr ou Twitter donné
description_pl    : TumblThree to darmowa aplikacja typu open source do tworzenia kopii zapasowych blogów Tumblr i Twitter. Pobiera ona zdjęcia, wideo, audio i publikacje tekstowe z danego bloga Tumblr lub Twitter
description_de    : TumblThree ist eine kostenlose und Open-Source-Anwendung zur Sicherung von Tumblr- und Twitter-Blogs. Es lädt Foto-, Video-, Audio- und Textbeiträge aus einem gegebenen Tumblr- oder Twitter-Blog hoch
description_es    : TumblThree es una aplicación gratuita y de código abierto para hacer copias de seguridad de blogs de Tumblr y Twitter. Descarga publicaciones de fotos, vídeos, audio y texto de un determinado blog de Tumblr o Twitter
description_pt    : O TumblThree é uma aplicação gratuita e de código aberto de backup de blogues do Tumblr e do Twitter. Transfere publicações de fotografias, vídeos, áudio e texto de um determinado blogue do Tumblr ou do Twitter
description_it    : TumblThree è un'applicazione gratuita e open source per il backup dei blog di Tumblr e Twitter. Scarica foto, video, audio e pubblicazioni di testo da un determinato blog di Tumblr o Twitter
description_nl    : TumblThree is een gratis, open source Tumblr en Twitter blog backup applicatie. Het downloadt foto-, video-, audio- en tekstpublicaties van een gegeven Tumblr- of Twitterblog
description_ru    : TumblThree - это бесплатное приложение для резервного копирования блогов Tumblr и Twitter с открытым исходным кодом. Оно загружает фото-, видео-, аудио- и текстовые публикации из заданного блога Tumblr или Twitter
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : TumblThreeApp.github.io
package_uuid      : 7101660d-22d8-4424-9585-7ab31b424565
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5b51fefe6698d10e006ab22c4c49f82d03f50ccbf41b219090497c46a7c1fd38
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-21T00:18:49.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         : v6CGiM+zlJ9DqR9iKjSIvmZO5VOOjRY+YkwQmv75O6603VTh5ot68eMwKxR+1yyNT1VYzJR5wo621nfWYDfF0hvkGlDjsW/7GOEYHgAA3pcQtqmSq+53Q7x5N04vrZUYxKq8N1rGMwqnOexh4ew/xHOdzHpHVvm1Wj8REV1z7MzvXAEZvMSAfsR5y6TUN4ND0oqxTVYrR8cZKxUmbjVEBZOEQzWoGY5yptd4JmVeJg8aUMPbBc3bwhxSzStycn1qmFh+OQja+F3KjvKKU2NmLgUbxfA0efHLRunkmYdZfJYjVJd+SsxYpQ/2qYcIBHXj+RUOl9Iznfn0FMI3rRhTSg==

# -*- coding: utf-8 -*-
from setuphelpers import *

"""


"""


app_name = "TumblThree "
editor_dir = makepath(programfiles, "TumblThree")
app_dir = makepath(editor_dir, "TumblThree")
app_path = makepath(app_dir,"TumblThree.exe")
#icon_path = makepath(app_dir, "resources", "app", "build", "crushee.ico")   #tis-crushee\windows\crushee\resources\resources\build
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"TumblThree-*.zip")[0]

    unzipped_dir = "TumblThree"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy TumblThree to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)

    # Creating custom shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_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-Application.zip",
        "x86"   :"-x86-Application.zip"
    }    
    
 
    git_repo = "TumblThreeApp/TumblThree"
    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(".zip") 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('*.zip'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

c91a129dbd17108f2df0abdd0d09b0b28e2b6e995e46aafb83a6e2c529ba1313 : TumblThree-v2.17.0-x86-Application.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
84f37a0de3fb87b6d87e6bc9dca0b00b81443a657e9e03e5a10b62f5341ae653 : WAPT/control
5b51fefe6698d10e006ab22c4c49f82d03f50ccbf41b219090497c46a7c1fd38 : WAPT/icon.png
bf11044ea6c57f78a73f0eee4f7a2af93e58751a6c903ab6619cfe8dcc2851d5 : luti.json
4c1514e2f1e8bcf70a067c646bfef3883c6281546e1f02450f5b49c5cf5bf2be : setup.py
bbe1fafaf3fb7215d87a766d26d3beb20fcffe8d14448f8110e57483ca9d4b4b : update_package.py