Bläddra i källkod

[Editor] LinuxBSD export reports Linux as OS name.

This is in line with what's reported by the `OS` class on GNU/Linux, and
is required by the extension exporter to identify the correct library.

For BSD, we should either finish splitting the platform (into
platform/bsd) or register a separate exporter with OS name BSD and
proper templates detection.
Fabio Alessandrelli 3 år sedan
förälder
incheckning
9c2b5ae5ce
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      platform/linuxbsd/export/export.cpp

+ 1 - 1
platform/linuxbsd/export/export.cpp

@@ -44,7 +44,7 @@ void register_linuxbsd_exporter() {
 	platform->set_name("Linux/X11");
 	platform->set_name("Linux/X11");
 	platform->set_extension("x86_32");
 	platform->set_extension("x86_32");
 	platform->set_extension("x86_64", "binary_format/64_bits");
 	platform->set_extension("x86_64", "binary_format/64_bits");
-	platform->set_os_name("LinuxBSD");
+	platform->set_os_name("Linux");
 	platform->set_chmod_flags(0755);
 	platform->set_chmod_flags(0755);
 
 
 	EditorExport::get_singleton()->add_export_platform(platform);
 	EditorExport::get_singleton()->add_export_platform(platform);