Skip to content

Commit

Permalink
Simplified banner for archstrike
Browse files Browse the repository at this point in the history
  • Loading branch information
comrumino committed Apr 16, 2020
1 parent 743e19d commit 2489aa6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 9 additions & 4 deletions asinstaller/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ def print_info(msg):


def print_banner():
directory = 'banners'
filename = '{0}/{1}'.format(directory, random.choice(os.listdir(directory)))
with open(filename) as fr:
print_title(fr.read())
banner = ['',
' _ _____ _ _ _',
' /\\ | | / ____| | (_) |',
' / \\ _ __ ___| |__ | (___ | |_ _ __ _| | _____',
" / /\\ \\ | '__/ __| '_ \\ \\___ \\| __| '__| | |/ / _ \\",
' / ____ \\| | | (__| | | |____) | |_| | | | < __/',
' /_/ \\_\\_| \\___|_| |_|_____/ \\__|_| |_|_|\\_\\___|',
'']
print_title('\n'.join(banner))


def cinput(msg, color):
Expand Down
7 changes: 0 additions & 7 deletions banners/main.txt

This file was deleted.

0 comments on commit 2489aa6

Please sign in to comment.