Closed lagodimos closed 2 years ago
Hi @Giann1s Thanks for taking your time and doing this amazing improvement to the install script.
Also a suggestion, maybe adding ( after line 157 ) the following lines would help avoid conflicts on installation, what do u think?
# In order to avoid a user inputting multiple theme-styles
# here number 3 includes, arg_list = ["FILE_NAME","THEME-STYLE","-y"]
if len(arg_list) > 3:
raise Exception("Input of arguments exceeded") # warning (also maybe change the warning message, mine looks imperfect)
Hi @vandalsoul, I made some more changes based on your suggestion. Of course you can make any modifications you want :)
Added command line options to the installation script for selecting theme and automatically deleting previous version
e.g.
sudo python3 install.py debian -y
debian: to install the debian style -y: to skip the confirmation message to delete the previous version (if exists)