tis-fastcopy icon

FastCopy

Paquet d’installation silencieuse pour FastCopy

5.5.0-18

  • package: tis-fastcopy
  • name: FastCopy
  • version: 5.5.0-18
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Pierre COSSON
  • editor: Shirouzu Hiroaki
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • impacted_process: FastCopy.exe
  • architecture: all
  • signature_date:
  • size: 4.58 Mo
  • installed_size: 1.64 Mo
  • homepage : https://fastcopy.jp/en/

package           : tis-fastcopy
version           : 5.5.0-18
architecture      : all
section           : base
priority          : optional
name              : FastCopy
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Pierre COSSON
description       : FastCopy computer software is a file and directory copier that runs under Microsoft Windows
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://fastcopy.jp/en/
installed_size    : 1640096
impacted_process  : FastCopy.exe
description_fr    : Le logiciel FastCopy est un copieur de fichiers et de répertoires qui fonctionne sous Microsoft Windows
description_pl    : Program komputerowy FastCopy to kopiarka plików i katalogów działająca pod kontrolą systemu Microsoft Windows
description_de    : FastCopy ist ein Datei- und Verzeichniskopierer, der unter Microsoft Windows läuft
description_es    : El programa informático FastCopy es un copiador de archivos y directorios que funciona con Microsoft Windows
description_pt    : FastCopy software de computador é uma copiadora de ficheiros e directórios que corre sob Microsoft Windows
description_it    : Il software FastCopy è un copiatore di file e directory che funziona in Microsoft Windows
description_nl    : FastCopy computersoftware is een kopieerprogramma voor bestanden en mappen dat onder Microsoft Windows draait
description_ru    : Компьютерное программное обеспечение FastCopy - это копировщик файлов и каталогов, работающий под управлением Microsoft Windows
audit_schedule    : 
editor            : Shirouzu Hiroaki
keywords          : copy,copier,directory,file
licence           : GPLv3
homepage          : https://fastcopy.jp/en/
package_uuid      : b841a2d0-f807-4d54-91eb-62fecec839da
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://fastcopy.jp/help/fastcopy_eng.htm#history
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e285faa094f4641ebe21c082ed18276e610e0a316ef4b7fc26744731c63df6e2
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : fb1Jn5LCsuGZF9hU2N4fcpzLs0HS5o1+ItKrVYsWD4oA7E0R3IdDKYL/ZTnuQkwYx6zAm0rx86E/+QVRNYVFfti9wBEniP5mwCbdwlLEC9MoNO7yRXewwt3Ak2G6fCnQouFgOdMAevD95yQwTsjDH6TqbocULITwJiRQ5E9tKqwcwb3RlVIcogcX89cj522oRbeCPdR1y44kNy28ylDGYWEPpHanM+uA44Rxwh4OVZc/8U42MS8t2bhkL5oqAKOc2GkoO1trRjDW+Ue6kLKK1TI/72R9sdBjo8uZMKJOvH2yqv0+SbT97KxWAe/kVfr7LOYtwx3LLL7kKvMWi2mFFg==
signature_date    : 2024-01-19T09:00:07.387840
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 time

path = makepath(programfiles, "FastCopy")


def install():
    bin_name = glob.glob("FastCopy*.exe")[0]
    install_exe_if_needed(bin_name, silentflags='/SILENT /DIR="%s"' % path, key="", min_version=control.version.split("-")[0])


def uninstall():
    # Variables
    setup_path = makepath(programfiles, "FastCopy", "setup.exe")

    print("closing FastCopy")
    killalltasks("FastCopy.exe")
    print("uninstalling FastCopy")
    remove_user_desktop_shortcut("FastCopy")

    # Uninstalling
    if isfile(setup_path):
        run(r'"%s" /silent /r' % setup_path)
        time.sleep(30)
        if isdir(path):
            remove_tree(path)
    else:
        print("file does not exist or the software is not installed")

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://fastcopy.jp/"

    # Getting latest version from official website
    download_html = wgets(url, proxies=proxies).splitlines()
    for line in download_html:
        if "FastCopy ver" in line:
            version = line.split(" ")[-1]
        if "_installer.exe" in line:
            download_url = url + line.split("/", 1)[1].split('"', 1)[0]
            latest_bin = download_url.split("/")[-1]

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if not version_from_file.startswith(version) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated

7d87b16523988c613b0b86340a863e0c6e2cb36a9d7e3e850351616d772a1802 : setup.py
87444aa9806990220dd5767e61af11b69db0e9a8121a616b9f5670a508603aa9 : FastCopy5.5.0_installer.exe
0c99347a893a9c828474c44faf5a30ebd9c74201bb30b15a18bcae8f6b896f75 : update_package.py
e285faa094f4641ebe21c082ed18276e610e0a316ef4b7fc26744731c63df6e2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
300e97eaa4da6f79e5358defe13e3024e4793fc1ca977bfa83b3d8ca27bcc696 : luti.json
45f89215418a50507849c6b2157975e020fc3c508bd5073fb5fedf3b8a630091 : WAPT/control