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



def install():
    # Declaring local variables
    bin_name = glob.glob("*.dmg")[0]
    
    # version because appflowerteam go to short or longer version 
    version = str(Version(control.get_software_version(),4))

    install_dmg(bin_name,key='/Applications/AppFlowy.app', min_version=version)
