Skip to content

Commit

Permalink
Revise the Splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
AionJayT committed Nov 1, 2019
1 parent ba078b1 commit de3da2a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions modBoot/src/org/aion/Aion.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,16 @@ public static void main(String args[]) {
+ filePath[8]
+ "\n----------------------------------------------------------------------------\n\n";

String logo =
"\n _____ \n"
+ " .'. | .~ ~. |.. |\n"
+ " .' `. | | | | ``.. |\n"
+ " .''''''''`. | | | | ``.. |\n"
+ ".' `. | `._____.' | ``|\n\n";

// always print the version string in the center of the Aion logo
String logo = "\n\n"
+ " _|_|_|_| _| _|_|_| _| _|_|_|_| \n"
+ " _| _|_|_| _|_| _| _| _|_| _| _| \n"
+ " _| _| _| _|_|_|_| _| _| _| _| _| _|\n"
+ " _| _| _| _| _| _| _| _| _| _|\n"
+ " _| _| _| _|_|_| _|_|_| _|_|_|_|_| _|_|_|_|_|\n"
+ "\n";


// always print the version string in the center of The OAN logo
String peakName = "Denali";
String versionStr = "v" + KERNEL_VERSION + " (" + peakName + ")";
String networkStr = cfg.getNetwork();
Expand Down Expand Up @@ -481,7 +483,7 @@ private static void writeKeyToFile(final String path, final String fileName, fin
}

private static String appendLogo(String value, String input) {
int leftPad = Math.round((44 - input.length()) / 2.0f) + 1;
int leftPad = Math.round((62 - input.length()) / 2.0f) + 1;
StringBuilder padInput = new StringBuilder();
for (int i = 0; i < leftPad; i++) {
padInput.append(" ");
Expand Down

0 comments on commit de3da2a

Please sign in to comment.