diff options
Diffstat (limited to 'platform/linuxbsd/export')
| -rw-r--r-- | platform/linuxbsd/export/export.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/linuxbsd/export/export.cpp b/platform/linuxbsd/export/export.cpp index cb95068314..965a38ef4e 100644 --- a/platform/linuxbsd/export/export.cpp +++ b/platform/linuxbsd/export/export.cpp @@ -30,7 +30,7 @@  #include "export.h" -#include "core/os/file_access.h" +#include "core/io/file_access.h"  #include "editor/editor_export.h"  #include "platform/linuxbsd/logo.gen.h"  #include "scene/resources/texture.h" @@ -39,11 +39,11 @@ static Error fixup_embedded_pck(const String &p_path, int64_t p_embedded_start,  void register_linuxbsd_exporter() {  	Ref<EditorExportPlatformPC> platform; -	platform.instance(); +	platform.instantiate();  	Ref<Image> img = memnew(Image(_linuxbsd_logo));  	Ref<ImageTexture> logo; -	logo.instance(); +	logo.instantiate();  	logo->create_from_image(img);  	platform->set_logo(logo);  	platform->set_name("Linux/X11"); @@ -53,7 +53,7 @@ void register_linuxbsd_exporter() {  	platform->set_debug_32("linux_x11_32_debug");  	platform->set_release_64("linux_x11_64_release");  	platform->set_debug_64("linux_x11_64_debug"); -	platform->set_os_name("X11"); +	platform->set_os_name("LinuxBSD");  	platform->set_chmod_flags(0755);  	platform->set_fixup_embedded_pck_func(&fixup_embedded_pck);  |