tis-ultradefrag icon

Ultra Defragmenter

Silent install package for Ultra Defragmenter

7.1.4-9

  • package: tis-ultradefrag
  • name: Ultra Defragmenter
  • version: 7.1.4-9
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN
  • editor: Green Gate Systems, LLC
  • licence: GPL
  • locale: all
  • target_os: windows
  • impacted_process: ultradefrag.exe
  • architecture: x64
  • signature_date:
  • size: 2.39 Mo
  • installed_size: 7.35 Mo
  • homepage : http://ultradefrag.net/

package           : tis-ultradefrag
version           : 7.1.4-9
architecture      : x64
section           : base
priority          : optional
name              : Ultra Defragmenter
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN
description       : UltraDefrag is a disk defragmentation utility for Microsoft Windows.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://sourceforge.net/projects/ultradefrag/
installed_size    : 7345864
impacted_process  : ultradefrag.exe
description_fr    : UltraDefrag est un utilitaire de défragmentation de disque pour Microsoft Windows.
description_pl    : UltraDefrag to narzędzie do defragmentacji dysku dla systemu Microsoft Windows
description_de    : UltraDefrag ist ein Festplatten-Defragmentierungsprogramm für Microsoft Windows
description_es    : UltraDefrag es una utilidad de desfragmentación de disco para Microsoft Windows
description_pt    : UltraDefrag é um utilitário de desfragmentação de disco para Microsoft Windows
description_it    : UltraDefrag è un'utility di deframmentazione del disco per Microsoft Windows
description_nl    : UltraDefrag is een hulpprogramma voor schijfdefragmentatie voor Microsoft Windows
description_ru    : UltraDefrag - это утилита дефрагментации диска для Microsoft Windows
audit_schedule    : 
editor            : Green Gate Systems, LLC
keywords          : disk,defragmentation
licence           : GPL
homepage          : http://ultradefrag.net/
package_uuid      : d2576a91-1e3b-4a5f-8bb3-a9a271f6f73d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : cc1fda4dd736531bc84e6301ce0dbb195287b13398ea49221773123a4173ee5c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : qnwM1/u257BBOPnTN6tQCkBgcynllGPqgOtooxlBWvU5bCU2xstSu/6GkgSZdJ3ZpbvHWvIANqmiy+w6BhGmgVjjeCectL6rVbH/jHNnRlW6yXU9ShunEilRSp6scmwFkWw0r9F94a5Fuwy+5404fxjgb04hoD7de81zbrrJTWTlLhgc4m+nHcbYjwCczV5+aUBpnKoCc17OxtcQbt0evdJxoV6DDsQPn8gaxU1JMRV1WwsV+G7D6cJdjvXP+4IjPdQbuZABCHbPrYUCNYk6z4zA9rP+yG92iBfv1+Mry/gbo/j2i/WXxv4otoREd2pE3REgOAH7Rj5P2lO+uG3kQQ==
signature_date    : 2023-09-14T22:00:58.527795
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 *


def install():
    # Specific app values
    package_version = control.version.split("-")[0].split(".")[:3]
    package_version = ".".join(package_version)
    bin_name = "ultradefrag-%s.bin.amd64.exe" % package_version
    print("installing ultradefrag")
    install_exe_if_needed(
        bin_name,
        "/S",
        key="UltraDefrag",
        min_version=package_version,
    )

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

bin_name_temp = "ultradefrag-%s.bin.amd64.exe"


def update_package():
    print("Download/Update package content from upstream binary sources")

    # Initializing variables

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxy = {"http": proxywapt, "https": proxywapt}

    # Specific app values
    app_name = control.name
    proxies = proxy
    git_repo = "ultradefrag"
    url_api = "https://sourceforge.net/projects/%s/best_release.json" % git_repo

    # Getting latest version from official website
    print("API used is: " + url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))
    version = json_load["release"]["filename"].split("/")[-2]
    latest_bin = bin_name_temp % version
    url_dl = "https://sourceforge.net/projects/%s/files/%s/download" % (git_repo, latest_bin)

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxy)

    # Incrementing version of the package
    control.version = "%s-%s" % (version, int(control.version.split("-")[-1]))
    control.save_control_to_wapt()
    print("Changing package version to: %s in WAPT\\control" % control.version)

19bc84ff1ad40f3d6edc0050d98a7da2c92751d709b8981926f1aaff60ff53da : setup.py
0a6f2db7d9e669e4b33704c4c668ca5b232e261f7fab0581d6ef0e99f0ee9a72 : ultradefrag-7.1.4.bin.amd64.exe
58f0de4946ede0bae4472693d01854c66a46aa2cb2838bdf0d9b336317c309a8 : update_package.py
cc1fda4dd736531bc84e6301ce0dbb195287b13398ea49221773123a4173ee5c : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
9a79af1364daf1b62851ee2e1f1cf32187ac069821e7ccffb861dcd901709722 : luti.json
897d60ab4ef359b2983fabde19224c2f69c75a0f4675a96783d97a8591c867b5 : WAPT/control