# ba_meta require api 9 #! Crafted by brostos from platform import machine import threading import time import webbrowser import urllib.request import re import babase import bascenev1 as bs def threaded(func): def wrapper(*args, **kwargs): thread = threading.Thread( target=func, args=args, kwargs=kwargs, name=func.__name__ ) thread.start() return wrapper def play_sound(sound): with bs.get_foreground_host_activity().context: bs.getsound(sound).play() @threaded def fetch_update(): url = 'https://ballistica.net/downloads' try: response = urllib.request.urlopen(url) web_content = response.read().decode('utf-8') except: return match = re.search(r'