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


def install():
    bin_name = glob.glob("HandBrake-*-x86_64-Win_GUI.exe")[0]

    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="HandBrake",
        min_version=control.get_software_version(),
    )
