Skip to content

Commit

Permalink
Fixed install script
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Apr 20, 2023
1 parent 1b1bd0f commit ea3bc47
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion InstallLibraries/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import requests, zipfile, io, os, shutil

PATH = os.path.dirname(os.path.realpath(__file__))
DEST_PATH = f"{PATH}/../Assets/Libraries/BassNative"
DEST_PATH = f"{PATH}/../Assets/Plugins/BassNative"
URL = "https://www.un4seen.com/files/"

def download(name, prefix=""):
Expand All @@ -20,6 +20,11 @@ def move(start, to):
print("You are not in the YARG repo. Make sure you keep the script in the `InstallLibraries` folder.")
exit()

# Delete old stuff

if os.path.exists(f"{PATH}/../Assets/Libraries"):
shutil.rmtree(f"{PATH}/../Assets/Libraries")

# Install BASS

download("bass24.zip")
Expand Down

0 comments on commit ea3bc47

Please sign in to comment.