File tree Expand file tree Collapse file tree
src/main/kotlin/app/morphe/gui/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66package app.morphe.gui.util
77
8+ import app.morphe.gui.data.constants.AppConstants
89import java.io.File
910import java.io.PrintWriter
1011import java.io.StringWriter
@@ -49,11 +50,13 @@ object Logger {
4950 // Log startup info
5051 info(" =" .repeat(60 ))
5152 info(" Morphe-GUI Started" )
52- info(" Version: 1.0.0" )
53- info(" OS: ${System .getProperty(" os.name" )} ${System .getProperty(" os.version" )} " )
54- info(" Java: ${System .getProperty(" java.version" )} " )
53+ info(" Version: ${AppConstants .APP_VERSION } " )
54+ info(" OS: ${System .getProperty(" os.name" )} ${System .getProperty(" os.version" )} (${System .getProperty(" os.arch" )} )" )
55+ info(" Java: ${System .getProperty(" java.version" )} (${System .getProperty(" java.vendor" )} ) ${System .getProperty(" sun.arch.data.model" )} -bit" )
56+ info(" Memory: ${Runtime .getRuntime().maxMemory() / 1024 / 1024 } MB max" )
5557 info(" User: ${System .getProperty(" user.name" )} " )
5658 info(" App Data: ${FileUtils .getAppDataDir().absolutePath} " )
59+ info(" Working Dir: ${System .getProperty(" user.dir" )} " )
5760 info(" =" .repeat(60 ))
5861
5962 initialized = true
You can’t perform that action at this time.
0 commit comments