From 04b429d064fb2954e768abc8066013ad0faf2729 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Fri, 5 Jan 2024 14:39:43 -0600 Subject: launch info all in one place TODO: build class path --- meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c5588b7..d6093e0 100644 --- a/meson.build +++ b/meson.build @@ -23,6 +23,7 @@ launcher_os = get_option('launcher_os') launcher_arch_bits = get_option('launcher_arch_bits') launcher_arch = get_option('launcher_arch') launcher_jre_arch = get_option('launcher_jre_arch') +launcher_java_path_sep = get_option('launcher_java_path_sep') if launcher_os == 'auto' if host_machine.system() == 'linux' @@ -80,6 +81,14 @@ if launcher_jre_arch == 'auto' endif endif +if launcher_java_path_sep == '' + if host_machine.system() == 'windows' + launcher_java_path_sep = ';' + else + launcher_java_path_sep = ':' + endif +endif + message('Using launcher OS', launcher_os) config_data.set_quoted('L2SU_LAUNCHER_OS', launcher_os) @@ -100,6 +109,9 @@ config_data.set_quoted('L2SU_LAUNCHER_ARCH', launcher_arch) message('Using launcher JRE arch', launcher_jre_arch) config_data.set_quoted('L2SU_JRE_ARCH', launcher_jre_arch) +message('Using launcher classpath separator', launcher_java_path_sep) +config_data.set_quoted('L2SU_CLASSPATH_SEP', launcher_java_path_sep) + if launcher_jre_arch == 'gamecore' message('(launcher_jre_arch == gamecore, so JREs will most likely not be downloaded.)') endif -- cgit v1.2.3-70-g09d2