mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #66952 from bruvzg/macos_net_export
Fix macOS .NET export.
This commit is contained in:
commit
f2248969db
7 changed files with 156 additions and 266 deletions
|
|
@ -144,6 +144,7 @@ public:
|
|||
};
|
||||
|
||||
virtual Ref<EditorExportPreset> create_preset();
|
||||
virtual bool is_executable(const String &p_path) const { return false; }
|
||||
|
||||
virtual void clear_messages() { messages.clear(); }
|
||||
virtual void add_message(ExportMessageType p_type, const String &p_category, const String &p_message) {
|
||||
|
|
|
|||
|
|
@ -185,10 +185,12 @@ Error EditorExportPlatformPC::export_project_data(const Ref<EditorExportPreset>
|
|||
String src_path = ProjectSettings::get_singleton()->globalize_path(so_files[i].path);
|
||||
String target_path;
|
||||
if (so_files[i].target.is_empty()) {
|
||||
target_path = p_path.get_base_dir().path_join(src_path.get_file());
|
||||
target_path = p_path.get_base_dir();
|
||||
} else {
|
||||
target_path = p_path.get_base_dir().path_join(so_files[i].target).path_join(src_path.get_file());
|
||||
target_path = p_path.get_base_dir().path_join(so_files[i].target);
|
||||
da->make_dir_recursive(target_path);
|
||||
}
|
||||
target_path = target_path.path_join(src_path.get_file());
|
||||
|
||||
if (da->dir_exists(src_path)) {
|
||||
err = da->make_dir_recursive(target_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue