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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob("*.dmg")[0]
    # Installing the software

    install_dmg(
        bin_name,
        key="/Applications/RustDesk.app",
        min_version=control.get_software_version()
    )
