Skip to content

Commit

Permalink
added potential support for aarch (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodWorkXGaming committed Apr 6, 2022
1 parent a6e55c4 commit a287383
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,12 @@ class ServerStarter(args: Array<String>) {

fun main(args: Array<String>) {
// System.setProperty("jansi.passthrough", "true")
AnsiConsole.systemInstall()
try {
AnsiConsole.systemInstall()
} catch (e: Exception) {
println("jansi couldn't be installed in this terminal (e.g. due to aarch64 not being supported)\n" +
"Future terminal messages will have no color.")
}

try {
val starter = ServerStarter(args)
Expand Down

0 comments on commit a287383

Please sign in to comment.