tis-oh-my-posh-portable icon

posh

Paquet d’installation silencieuse pour posh

26.23.5-1
dev
dev

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-oh-my-posh-portable
  • name: posh
  • version: 26.23.5-1
  • categories: dev
  • maintainer: Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 7.31 Mo
  • homepage : ohmyposh.dev

package           : tis-oh-my-posh-portable
version           : 26.23.5-1
architecture      : x64
section           : base
priority          : optional
name              : posh
categories        : dev
maintainer        : Amel FRADJ
description       : What started out as oh-my-posh2's offshoot for PowerShell has given birth to a cross-platform, highly customizable and extensible prompt theme engine
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Ce qui a commencé comme le rejeton d'oh-my-posh2 pour PowerShell a donné naissance à un moteur de thème d'invite multiplateforme, hautement personnalisable et extensible
description_pl    : To, co zaczęło się jako odgałęzienie oh-my-posh2 dla PowerShell, dało początek wieloplatformowemu, wysoce konfigurowalnemu i rozszerzalnemu silnikowi motywów podpowiedzi
description_de    : Was als oh-my-posh2-Sprössling für PowerShell begann, hat sich zu einer plattformübergreifenden, hochgradig anpassbaren und erweiterbaren Prompt Theme Engine entwickelt
description_es    : Lo que empezó como una rama de oh-my-posh2 para PowerShell ha dado lugar a un motor de temas de avisos multiplataforma, altamente personalizable y extensible
description_pt    : O que começou por ser uma ramificação do oh-my-posh2 para o PowerShell deu origem a um motor de temas de prompt multiplataforma, altamente personalizável e extensível
description_it    : Quello che era iniziato come una propaggine di oh-my-posh2 per PowerShell ha dato vita a un motore di prompt multipiattaforma, altamente personalizzabile ed estensibile
description_nl    : Wat begon als oh-my-posh2's uitloper voor PowerShell is uitgegroeid tot een cross-platform, zeer aanpasbare en uitbreidbare prompt theme engine
description_ru    : То, что начиналось как ответвление oh-my-posh2 для PowerShell, превратилось в кроссплатформенный, легко настраиваемый и расширяемый движок тем подсказок
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : ohmyposh.dev
package_uuid      : 1666873a-bc8c-42b6-8b70-c3a6218365bb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : cad08bef3eebd35e2f2df6fbb084a9058c33004b6fc942acd90e6ffdaf6fc421
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-14T16:23:55.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         : jtY9d8n26erXdjML+K01IRmKYJDnrjjhWpa//FXl/DdNoHCk5dZPTF81BSmrOFa9ViLlB9C7Hd6B0exHQlBuqSfUH2D63AFneqA7Z2TwigRQnkE/hjwiSbGZgCmBExO86yaUCA1s0js+6e0jD5Vwvvbp3Z3pBQ0nZWLJDdsRBEq3650rbPpNewnY1kSTAtldtmL1vn36T7cIjZ0JH88A9Fzlac0qp57PmO+wcb/ny0vbWQf7vVseCj3H/TZDeQ8r+x2ntEYsCaHS+qMB4v7AB/Npwtx87M/ANbsSIvm0De+SETYjqy4ZuCTpBxtBJevIepBVbt5MkjGsQvRUsSW22A==

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

app_name = "posh"

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)

    add_to_system_path(app_dir)

def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    for uninstall in installed_softwares('posh'):
        uninstall_string = uninstall.get("uninstall_string", "")
        print(f"Uninstalling posh: {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)

    


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

    git_repo = "JanDeDobbeleer/oh-my-posh"
    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("amd64.exe") :
            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)

    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
c95dbd1968f0fba920d466a9e8bc6f9dc3ad8eb5050da281abb8a4dfd1046782 : WAPT/control
cad08bef3eebd35e2f2df6fbb084a9058c33004b6fc942acd90e6ffdaf6fc421 : WAPT/icon.png
07a339b34adbcde9478bc1cfbbb7febe2a84416204098077e8193498550c6235 : luti.json
b8d5fe15b6e9f5931413932afc69af989e18065ba5aab3fde646e6aa9d9aa8cd : posh-windows-amd64.exe
616cbf96a7dea962e9c933935929ea4a10e50430c97546447cf1255d5641e5e9 : setup.py
c044dc7f406ea5e67f7fa51fe8cab4922da028c165ff9b5af67eb3e822b8b976 : update_package.py