tis-disable-wapttray

1.1-6
No longer launch the WAPT system tray icon on startup
871 downloads
Download
View on luti logo
tis-disable-wapttray icon

  Description 

  • package : tis-disable-wapttray
  • version : 1.1-6
  • architecture : all
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • description : No longer launch the WAPT system tray icon on startup
  • locale : all
  • target_os : windows
  • min_wapt_version : 2.0
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr : Lancer l'icône WAPT dans la barre d'état système au démarrage.
  • description_pl : Nie jest już uruchamiana ikona zasobnika systemowego WAPT
  • description_de : Das WAPT-Symbol in der Taskleiste wird beim Start nicht mehr angezeigt
  • description_es : Ya no se lanza el icono de la bandeja del sistema de WAPT al iniciarse
  • description_pt : Não lançar mais o ícone da bandeja do sistema WAPT no arranque
  • description_it : Non viene più lanciata l'icona della barra di sistema di WAPT all'avvio
  • description_nl : Het WAPT-systeemvakpictogram wordt niet langer gestart bij het opstarten
  • description_ru : При запуске больше не запускается значок WAPT в системном трее
  • editor : Tranquil IT
  • licence :
  • signature_date : 2022-08-31T13:02:46.310758
  • Conflicts :

  Setup.py 

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

# Defining variables
shortcut_name = "WAPT tray helper.lnk"
startup_dir = winshell.startup(common=True)
shortcut_path = makepath(startup_dir, shortcut_name)
if isdir(makepath(programfiles32, "wapt")):
    wapt_dir = makepath(programfiles32, "wapt")
else:
    wapt_dir = makepath(systemdrive, "wapt")
if isfile(makepath(wapt_dir, "wapt-enterprise.ico")):
    wapt_ico_path = makepath(wapt_dir, "wapt-enterprise.ico")
else:
    wapt_ico_path = makepath(wapt_dir, "wapt.ico")
wapt_tray_path = makepath(wapt_dir, "wapttray.exe")


def install():
    # Installing the package
    if isfile(shortcut_path):
        remove_file(shortcut_path)
    else:
        print("The WAPT Tray startup shortcut was not present.")


def uninstall():
    # Uninstalling the package
    if not isfile(shortcut_path):
        create_shortcut(shortcut_path, target=wapt_tray_path, icon=wapt_ico_path)
    else:
        print("The WAPT Tray startup shortcut already exist.")


def audit():
    if isfile(shortcut_path):
        print("WARNING: The WAPT Tray startup shortcut is present.")
        return "WARNING"
    else:
        return "OK"

										

  Changelog 



No changelog.txt.
									
  manifest.sha256