diff --git a/lb.py b/ligma.py similarity index 100% rename from lb.py rename to ligma.py diff --git a/update.py b/update.py new file mode 100644 index 0000000..4e652ea --- /dev/null +++ b/update.py @@ -0,0 +1,14 @@ +import requests +import os +print("Welcome to the Update Wizard. This will update your current LB version.") +name = input("What is the name of your LigmaBalls file? (DO NOT INCLUDE .PY)") +os.remove(name + ".py") +url = 'https://github.com/Freakybob-Team/lb/blob/main/lb.py?raw=true' +response = requests.get(url) +file_Path = "lb.py" +response = requests.get(url) +if response.status_code == 200: + with open(file_Path, 'wb') as file: + file.write(response.content) + print('File downloaded successfully') +print("Done! Your LigmaBalls version has been updated.") \ No newline at end of file