mirror of
https://github.com/yawaflua/Minecraft_server_creating-BETA-.git
synced 2025-12-08 19:39:28 +02:00
16 lines
769 B
Python
16 lines
769 B
Python
from os import getcwd, system, path
|
|
from urllib.request import urlretrieve
|
|
# import modules
|
|
|
|
cwd = getcwd()
|
|
windows = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/windows.py'
|
|
if not path.isfile('/windows.py'): urlretrieve(windows, str(cwd)+'/windows.py')
|
|
# download windows.py
|
|
commands = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/commands.py'
|
|
if not path.isfile('/commands.py'): urlretrieve(commands, str(cwd)+'/commands.py')
|
|
# download commands.py
|
|
installer = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/intex.py'
|
|
if not path.isfile('/intex.py'): urlretrieve(installer, str(cwd)+'/intex.py')
|
|
# download commands.py
|
|
system('python3 '+ str(cwd)+'/windows.py')
|