Skip to content

Commit 76e470c

Browse files
authored
Add choice
1 parent 0a7aa9e commit 76e470c

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

source/download.py renamed to source/LL-loader.py

+6-11
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55

66
pth=os.getcwd()
77

8+
print("write down which versions you want to use(use full name of version, example 1.2.4 and 1.17.34.02)")
9+
LL = input("what version of LL u need? ")
10+
BDS = input("what version of BDS u need? ")
11+
812
print('Beginning downloading files...')
9-
zip = 'https://minecraft.azureedge.net/bin-win/bedrock-server-1.17.34.02.zip'
10-
zip1 = 'https://github.com/LiteLDev/LiteLoaderBDS/releases/download/1.2.4/LiteLoader.zip'
13+
zip = 'https://minecraft.azureedge.net/bin-win/bedrock-server-'+ BDS +'.zip'
14+
zip1 = 'https://github.com/LiteLDev/LiteLoaderBDS/releases/download/'+ LL +'/LiteLoader.zip'
1115
urllib.request.urlretrieve(zip, 'bedrock_server.zip')
1216
urllib.request.urlretrieve(zip1, 'LiteLoader.zip')
1317
print("Success!")
1418

15-
1619
print('Starting extract files')
1720
fantasy_zip = zipfile.ZipFile(pth + '\\bedrock_server.zip')
1821
fantasy_zip.extractall(pth)
@@ -23,15 +26,7 @@
2326
print('All file extracted! Starting generate server')
2427
os.system(pth + '\\SymDB2.exe')
2528

26-
2729
for i in range( 0, 0 ):
2830
subprocess.call(('SymDB2.exe', str(i)))
2931

3032
os.system(pth + '\\bedrock_server.exe')
31-
32-
my_file = open('LL-loader.txt', 'w+')
33-
my_file.write('Hello!' + '\n')
34-
my_file.write('Thx for using LL-loader' + '\n')
35-
my_file.write('Github: https://github.com/Development-studio/LL-Loader')
36-
my_file.close()
37-

0 commit comments

Comments
 (0)