Skip to content

Commit

Permalink
renamed: lb.py -> ligma.py
Browse files Browse the repository at this point in the history
	new file:   update.py
  • Loading branch information
wish13yt committed Oct 19, 2024
1 parent 5fa7bed commit 18a25a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
File renamed without changes.
14 changes: 14 additions & 0 deletions update.py
Original file line number Diff line number Diff line change
@@ -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.")

0 comments on commit 18a25a3

Please sign in to comment.