Revert "renamed: freakybob.txt -> download/freakybob.txt"
This reverts commit 0125c12764
.
This commit is contained in:
parent
0125c12764
commit
e65d0c1c9c
4 changed files with 3 additions and 18 deletions
|
@ -1,15 +0,0 @@
|
|||
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.")
|
||||
exec(open('lb.py').read())
|
6
lb.py
6
lb.py
|
@ -41,7 +41,7 @@ def code():
|
|||
if (command == "freakybob"):
|
||||
print("This requires an additional download of 5.42 KB.")
|
||||
input("Are you fine with that? Close this if not. ")
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/download/freakybob.txt?raw=true'
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/freakybob.txt?raw=true'
|
||||
response = requests.get(url)
|
||||
file_Path = 'freakybob.txt'
|
||||
response = requests.get(url)
|
||||
|
@ -56,7 +56,7 @@ def code():
|
|||
if (command == "update"):
|
||||
print("This requires an additional download of 569 bytes.")
|
||||
input("Are you fine with that? Close this if not. ")
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/download/update.py?raw=true'
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/update.py?raw=true'
|
||||
response = requests.get(url)
|
||||
file_Path = 'update.py'
|
||||
|
||||
|
@ -70,7 +70,7 @@ def code():
|
|||
print("Bringing you back...")
|
||||
code()
|
||||
if (command == "greg"):
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/download/greg.bat?raw=true'
|
||||
url = 'https://github.com/Freakybob-Team/lb/blob/main/greg.bat?raw=true'
|
||||
response = requests.get(url)
|
||||
file_Path = 'greg.bat'
|
||||
if response.status_code == 200:
|
||||
|
|
Loading…
Reference in a new issue