summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-05-24 10:09:50 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-05-24 12:01:34 +0200
commit9c2b5ae5ce737ad3cd7507e76ac3a35a9dcaa31f (patch)
tree165e6154377ada7fd2ffc8e2d3aa3ab678641b10 /platform
parentcf39f36685c940802ec02867e8579e52d27a05d7 (diff)
[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.
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/export/export.cpp b/platform/linuxbsd/export/export.cpp
index ec83e52f09..965b969ba8 100644
--- a/platform/linuxbsd/export/export.cpp
+++ b/platform/linuxbsd/export/export.cpp
@@ -44,7 +44,7 @@ void register_linuxbsd_exporter() {
platform->set_name("Linux/X11");
platform->set_extension("x86_32");
platform->set_extension("x86_64", "binary_format/64_bits");
- platform->set_os_name("LinuxBSD");
+ platform->set_os_name("Linux");
platform->set_chmod_flags(0755);
EditorExport::get_singleton()->add_export_platform(platform);