# -*- 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("*.deb")[0]
    # Installing the software

    install_deb(bin_name)

def uninstall():
    install_apt('bc')
    if not isfile('/etc/systemd/system/rustdesk.service'):
        open('/etc/systemd/system/rustdesk.service','w').write('')
    uninstall_apt('rustdesk')