tis-cmder 1.3.4-32

  • package : tis-cmder
  • version : 1.3.4-32
  • description : Cmder est un émulateur de console ergonomique et intuitif destiné à améliorer votre expérience de l'invite de commande Windows. Basé sur ConEmu
  • maintainer : Simon Fonteneau
  • date : 2018-01-05 17:02:01
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20180105-170145
  • min_os_version :
  • min_wapt_version :

setup.py

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

uninstallkey = []

path = makepath(programfiles32,'cmder')
iconemu = makepath(path,'icons','cmder.ico')

def install():
    print('installing Cmder')
    versionsoft = control['version'].split('-',1)[0]
    maintainer = control['signer']
    namepackage= control['package']

    if isdir(path):
        remove_tree(path)
    copytree2('cmder',path)
    create_programs_menu_shortcut('Cmder', target=makepath(path,'vendor','conemu-maximus5','ConEmu.exe'), arguments=r'/Icon "' + iconemu + '" /Title Cmder /LoadCfgFile "%appdata%\cmder\ConEmu.xml"', wDir=path, icon=iconemu)
    run('"%s" /REGISTER ALL' % makepath(path,'Cmder.exe'))
    register_uninstall('cmder','wapt-get remove ' + namepackage,win64app=False,
        quiet_uninstall_string='',
        install_location = path , display_name='Cmder',display_version=versionsoft,publisher=maintainer)

def uninstall():
    run_notfatal('"%s" /UNREGISTER ALL' % makepath(path,'Cmder.exe'))
    if isdir(path):
        remove_tree(path)
    remove_programs_menu_shortcut('Cmder')
    unregister_uninstall('cmder',win64app=False)

def session_setup():
    if not isfile(makepath(application_data(),'cmder')):
        mkdirs(makepath(application_data(),'cmder'))
    filecopyto(makepath(path,'config','ConEmu.xml'),makepath(application_data(),'cmder','ConEmu.xml'))
    

manifest

Couldn't retrieve manifest.