Improve startup banner

This commit is contained in:
luukas 2021-11-02 16:08:27 +02:00
parent 13a5304edc
commit dba72ea194

16
main.py
View File

@ -23,14 +23,14 @@ def do_intro():
version = helper.get_version_string()
intro = """
{lines}
#\t\tWelcome to Crafty Controller - v.{version}\t\t #
{lines}
# \tServer Manager / Web Portal for your Minecraft server \t #
# \t\tHomepage: www.craftycontrol.com\t\t\t #
{lines}
""".format(lines="/" * 75, version=version)
intro = f"""
{'/' * 75}
#{("Welcome to Crafty Controller - v." + version).center(73, " ")}#
{'/' * 75}
#{"Server Manager / Web Portal for your Minecraft server".center(73, " ")}#
#{"Homepage: www.craftycontrol.com".center(73, " ")}#
{'/' * 75}
"""
console.magenta(intro)