15 lines
421 B
Python
15 lines
421 B
Python
# -*- coding: utf-8 -*-
|
|
from setuphelpers import *
|
|
|
|
uninstallkey = []
|
|
|
|
def install():
|
|
print('installing kg-typora')
|
|
install_exe_if_needed("typora-setup-x64.exe",'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='',min_version='0.9.75')
|
|
|
|
typora_location = makepath(programfiles64,'Typora','typora.exe')
|
|
create_desktop_shortcut('Typora',typora_location)
|
|
|
|
def uninstall():
|
|
remove_desktop_shortcut('Typora')
|