Custom SpringBoot console launch icon

Used SpringBoot small partner is well known that in the process of starting, the icon will be printed first spring and the version number of the console (IDEA here for an example)

 

If you need to change the Print icon, then, requires the following steps:

1. Open SpringBoot project (to launch)

2. Create a file named banner.txt

(Used to create a URL icons: http://www.network-science.de/ascii/    http://patorjk.com/software/taag )

3. Save the file to the resources under src / main

 

Restart the project, a custom icon print success in the console! (Need to modify the font color small partner, can be on the first line of the txt file write $ {AnsiColor.BRIGHT.YELLOW})

 

Peace~

Guess you like

Origin www.cnblogs.com/coding-jc/p/11968334.html