Files
Minecraft_server_creating-B…/index.py
Dima YaFlay 481eb9abfd 1.0.1
Optimizing code, add installer
2022-01-03 01:45:03 +03:00

14 lines
712 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')
commands = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/commands.py'
if not path.isfile('/commands.py'): urlretrieve(commands, str(cwd)+'/commands.py')
installer = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating-BETA-/main/installer.py'
if not path.isfile('/installer.py'): urlretrieve(installer, str(cwd)+'/installer.py')
system('python3 '+ str(cwd)+'/windows.py')