tis-flow-launcher-portable icon

flow-launcher

Paquet d’installation silencieuse pour flow-launcher

1.20.0-2

  • package: tis-flow-launcher-portable
  • name: flow-launcher
  • version: 1.20.0-2
  • maintainer: WAPT Team,Tranquil IT,Flavien Schelfaut,Amel FRADJ
  • editor: Flow Launcher Team
  • licence: MIT license
  • locale: all
  • target_os: windows
  • impacted_process: Flow.Launcher
  • architecture: all
  • signature_date:
  • size: 169.99 Mo
  • installed_size: 284.23 Mo
  • homepage : https://www.flowlauncher.com/

package           : tis-flow-launcher-portable
version           : 1.20.0-2
architecture      : all
section           : base
priority          : optional
name              : flow-launcher
categories        : 
maintainer        : WAPT Team,Tranquil IT,Flavien Schelfaut,Amel FRADJ
description       : Flow Launcher - Quick file search and app launcher for Windows with community-made plugins (Flow-Launcher Team)
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/Flow-Launcher/Flow.Launcher
installed_size    : 284231615
impacted_process  : Flow.Launcher
description_fr    : Flow Launcher - Recherche rapide de fichiers et lanceur d'applications pour Windows avec des plugins créés par la communauté (Flow-Launcher Team)
description_pl    : Flow Launcher - Szybkie wyszukiwanie plików i uruchamianie aplikacji dla Windows z wtyczkami stworzonymi przez społeczność (Flow-Launcher Team)
description_de    : Flow Launcher - Schnelle Dateisuche und App-Startprogramm für Windows mit von der Community entwickelten Plugins (Flow-Launcher Team)
description_es    : Flow Launcher - Buscador rápido de archivos y lanzador de aplicaciones para Windows con plugins creados por la comunidad (Flow-Launcher Team)
description_pt    : Flow Launcher - Pesquisa rápida de ficheiros e lançador de aplicações para Windows com plugins criados pela comunidade (Flow-Launcher Team)
description_it    : Flow Launcher - Ricerca rapida di file e avvio di applicazioni per Windows con plugin creati dalla comunità (Flow-Launcher Team)
description_nl    : Flow Launcher - Snel bestanden zoeken en programma's starten voor Windows met door de gemeenschap gemaakte plugins (Flow-Launcher Team)
description_ru    : Flow Launcher - Быстрый поиск файлов и запуск приложений для Windows с плагинами, создаваемыми сообществом (Flow-Launcher Team)
audit_schedule    : 
editor            : Flow Launcher Team
keywords          : 
licence           : MIT license
homepage          : https://www.flowlauncher.com/
package_uuid      : 43015012-a9ed-470b-9a01-2faa69e08379
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Flow-Launcher/Flow.Launcher/releases
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 8c552ff5ec2a52fc31e31cd84c38da82e07d8e3f2463a4f904f05c9e1a49741e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-08T18:02:02.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         : nOlOvVBq7vUKsy2yQf1mrgUK36OqQuZokk0IeAzZROTZ3iUZEtQllOTqlQgtqIMi9KED/VeBd1kgLd8jrMJt/bC82Jsmiu6Kcfyt7eTbr8nsR4qZUJ4HIA35+JKttADVFHGeX7WONnuZE5wzcF5bs9aF3izPQ5ZL//kvy7seLXVLciXLWK+KPPInoATIy7AszSSRQ6XI9ITZZ5WHLdtqGaKmKszl467LP64UVwzkUOaQN8M3DUDcGn0qUcuAlnQY6iPjl6z6ieO4lCqhPSeyGShsxjs0oKENqomaqqnd27KsEMGJx91LoUkktSi9I+wpyZSUHt7k5MNeiKtTJasdiw==

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


app_name = "Flow Launcher"
app_dir = makepath(programfiles, "FlowLauncher")
app_path = makepath(app_dir, "Flow.Launcher.exe")
installed_version = get_file_properties(app_path).get("ProductVersion", "")

def install():
    bin_name = glob.glob("Flow-Launcher*.zip")[0]
    app_dir_version = makepath(app_dir, f"app-{control.get_software_version()}")

    # Uninstall older version before new one
    if installed_version and Version(installed_version) < Version(control.get_software_version()):
        uninstall()

    unzip(bin_name, programfiles)

    # Delete this folder to not store UserData in the App folder but in %appdata%
    remove_tree(makepath(app_dir_version, "UserData"))

    # Disable auto Update
    remove_tree(makepath(app_dir, 'packages'))
    remove_file(makepath(app_dir, 'Update.exe'))

    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)

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

def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    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 *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name
        
    api_url = "https://api.github.com/repos/Flow-Launcher/Flow.Launcher/releases/latest"

    print(f"API used is: {api_url}")
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    for to_download in json_load["assets"]:
        if to_download["name"].endswith('.zip'):
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = to_download["name"]
            latest_bin_extension = latest_bin.rsplit(".")[-1]
            break

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

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

ca10a6abd142e1bb9bf612d483202d460c827a9f9310a0cc61a0e35d2d0c7d23 : Flow-Launcher-Portable.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ac584f90bce3df6d3d8ef49fe2f95aa3e79524dde579c3db04b013d4d9b7d921 : WAPT/control
8c552ff5ec2a52fc31e31cd84c38da82e07d8e3f2463a4f904f05c9e1a49741e : WAPT/icon.png
37031bba48ff8b5cbbfed7492e2bab5ba58c676f8f2b3931156f1fdd4bd89900 : luti.json
a9a99a17d5832b61b6841a89f9080b4a7b5f84e63c3bc620de02f6a9fe5a918b : setup.py
13e90d2df2614293e24c42abb2b1e741e6b9b40bcfe484ed4a78b5a4c248905b : update_package.py