tis-oh-my-posh-portable icon

posh

Silent install package for posh

33.1.0-1
Development
Development

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-oh-my-posh-portable
  • name: posh
  • version: 33.1.0-1
  • categories: Development
  • maintainer: Amel FRADJ
  • editor: Jan De Dobbeleer
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 15.17 Mo
  • homepage : https://ohmyposh.dev

package           : tis-oh-my-posh-portable
version           : 33.1.0-1
architecture      : x64
section           : base
priority          : optional
name              : posh
categories        : Development
maintainer        : Amel FRADJ
description       : The most customisable and low-latency cross platform/shell prompt renderer
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Le moteur de rendu d'invite de commande multiplateforme et multi-shell le plus personnalisable et à faible latence
description_pl    : Najbardziej konfigurowalny, wieloplatformowy renderer znaku zachęty o niskim opóźnieniu, dla dowolnej powłoki
description_de    : Der anpassbarste, plattform- und shellübergreifende Prompt-Renderer mit geringer Latenz
description_es    : El renderizador de prompt multiplataforma y para cualquier shell más personalizable y de baja latencia
description_pt    : O renderizador de prompt multiplataforma e para qualquer shell mais personalizável e de baixa latência
description_it    : Il renderer di prompt multipiattaforma e per qualsiasi shell più personalizzabile e a bassa latenza
description_nl    : De meest aanpasbare cross-platform prompt-renderer met lage latency voor elke shell
description_ru    : Самый настраиваемый кроссплатформенный рендерер приглашения командной строки с низкой задержкой для любой оболочки
audit_schedule    : 
editor            : Jan De Dobbeleer
keywords          : cmd,bash,shell,customize,cross-shell,prompot
licence           : MIT license
homepage          : https://ohmyposh.dev
package_uuid      : 8d683582-b116-41b2-a56f-723125a0c04e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/JanDeDobbeleer/oh-my-posh/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : cad08bef3eebd35e2f2df6fbb084a9058c33004b6fc942acd90e6ffdaf6fc421
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-11-21T11:23:48.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         : G81w3p7MaovGBXDtrsiVA0j5hWSSJ7ulvfMHSaIae7ju/IUOJTtf/ChsBwsprwjS4/CWKLLVOzzMWGLpPDls3rYZIvKTmboqyLJfbzJ5mOnnm/xSIXHrnnQS7DRuPkh+7Kd1Et73vU/vYbH4F71qr2ywsjLiL3pVfSsR+eT/aOO6lfaK5syFz8wju46z6SG1STXvQec/sNbOegC6s866WOD+lH8wYFSGFvHJg1cUnaay541iuy7iYFwZ3kAR2QhSMWxaxRdnbxEF4yo1fADSvbuC96mF4A/xKvc9pN6ssD2+ki01ywhK2Fqt7s4a/at7B7RYwrbjaHd/kwNLPN1UzA==

# -*- 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
15ab4cfb6de6b5cc94a3b9b8232747141aa16b1f457879e69ba2cad7e36655cb : WAPT/control
cad08bef3eebd35e2f2df6fbb084a9058c33004b6fc942acd90e6ffdaf6fc421 : WAPT/icon.png
d1e225c41df327f49453308e4b82fe2acde4f9812c85e1f37da702c84ca9be3e : luti.json
05d944f8e2f0725e71c36b0575dd52d2086ccbe728957ae0d7aa5fc251aa7b91 : posh-windows-amd64.exe
616cbf96a7dea962e9c933935929ea4a10e50430c97546447cf1255d5641e5e9 : setup.py
c044dc7f406ea5e67f7fa51fe8cab4922da028c165ff9b5af67eb3e822b8b976 : update_package.py