diff options
Diffstat (limited to 'platform/linuxbsd/export')
| -rw-r--r-- | platform/linuxbsd/export/export.cpp | 12 | ||||
| -rw-r--r-- | platform/linuxbsd/export/export.h | 4 | 
2 files changed, 8 insertions, 8 deletions
diff --git a/platform/linuxbsd/export/export.cpp b/platform/linuxbsd/export/export.cpp index 86ea95c563..965a38ef4e 100644 --- a/platform/linuxbsd/export/export.cpp +++ b/platform/linuxbsd/export/export.cpp @@ -5,8 +5,8 @@  /*                           GODOT ENGINE                                */  /*                      https://godotengine.org                          */  /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur.                 */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md).   */ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur.                 */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md).   */  /*                                                                       */  /* Permission is hereby granted, free of charge, to any person obtaining */  /* a copy of this software and associated documentation files (the       */ @@ -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); diff --git a/platform/linuxbsd/export/export.h b/platform/linuxbsd/export/export.h index 5ee81f485e..61e96aa2f6 100644 --- a/platform/linuxbsd/export/export.h +++ b/platform/linuxbsd/export/export.h @@ -5,8 +5,8 @@  /*                           GODOT ENGINE                                */  /*                      https://godotengine.org                          */  /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur.                 */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md).   */ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur.                 */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md).   */  /*                                                                       */  /* Permission is hereby granted, free of charge, to any person obtaining */  /* a copy of this software and associated documentation files (the       */  |