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


def install():
    # Declaring local variables
    bin_name = glob.glob("*.exe")[0]

    install_exe_if_needed(
        bin_name,
        '/sp- /silent /norestart',
        key='AppFlowy_is1',
        min_version=control.get_software_version()
    )