Fixed update_furmark() and add FurMark Launcher

This commit is contained in:
2Shirt 2018-10-06 19:19:14 -06:00
parent e642bfd2d3
commit f097b98c85
2 changed files with 8 additions and 3 deletions

View file

@ -416,7 +416,7 @@ def update_furmark():
remove_from_kit('FurMark')
# Prep
install_dir = r'{}\FurMarkTemp"'.format(global_vars['TmpDir'])
install_dir = r'{}\FurMarkTemp'.format(global_vars['TmpDir'])
dest = r'{}\FurMark'.format(global_vars['CBinDir'])
uninstaller = None
@ -426,7 +426,7 @@ def update_furmark():
# Install to temp
cmd = [
r'{}\furmark_setup.exe'.format(global_vars['TmpDir']),
'/DIR="{}"'.format(install_dir),
'/DIR={}'.format(install_dir),
'/SILENT']
run_program(cmd)
@ -436,7 +436,7 @@ def update_furmark():
r = re.search(r'^unins\d+\.(dat|exe)$', item.name, re.IGNORECASE)
if r:
if 'exe' in item.name:
uninstaller = r'{}\{}'.format(dest, item.name)
uninstaller = r'{}\{}'.format(install_dir, item.name)
remove_item(item.path)
# Uninstall from temp

View file

@ -314,6 +314,11 @@ LAUNCHERS = {
r'call "%bin%\Scripts\init_client_dir.cmd" /Info',
],
},
'FurMark': {
'L_TYPE': 'Executable',
'L_PATH': 'FurMark',
'L_ITEM': 'FurMark.exe',
},
'HitmanPro': {
'L_TYPE': 'Executable',
'L_PATH': 'HitmanPro',