Skip to content

Commit

Permalink
modified: lb.py
Browse files Browse the repository at this point in the history
modified:   update.py
  • Loading branch information
wish13yt committed Oct 20, 2024
1 parent 97641e4 commit 33c0372
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,14 @@ def cls():
exec(open('update.py').read())
else:
print('Failed to download file')
print("Bringing you back...")
code()
print("Trying another source...")
alturl = 'https://codeberg.org/Freakybob/lb/raw/branch/main/update.py'
response = requests.get(url)
file_Path = 'update.py'
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
exec(open('update.py').read())
if (command == "greg"):
url = 'https://github.com/Freakybob-Team/lb/blob/main/greg.bat?raw=true'
response = requests.get(url)
Expand Down
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
file.write(response.content)
print('File downloaded successfully')
print("Done! Your LigmaBalls version has been updated.")
wantremove = input("Do you want to delete update.py? (Yes/No)")
wantremove = input("Do you want to delete update.py? (Yes/No) ")
if (wantremove == "Yes"):
os.remove("update.py")
else:
Expand Down

0 comments on commit 33c0372

Please sign in to comment.