diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 13:59:05 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-02 13:59:05 +0100 |
commit | c5c6f2db894e37af0abd6b39eeb420f758f51d91 (patch) | |
tree | abe265c6ee3ebc52ca3bbaa4968f4cc667ad963d /modules/mono | |
parent | 315d3c4d21e4ee7df1e45593205e35d7a034aa6d (diff) | |
parent | 70ebb6378cdceeaeaca064dbadbe4e2d86ce57e0 (diff) |
Merge pull request #72553 from RedworkDE/net-output-directory
C#: Preserve directories in output during export
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs index 019504ad66..70b48b0e3a 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs @@ -185,7 +185,9 @@ namespace GodotTools.Export foreach (string file in Directory.GetFiles(publishOutputTempDir, "*", SearchOption.AllDirectories)) { - AddSharedObject(file, tags: null, projectDataDirName); + AddSharedObject(file, tags: null, + Path.Join(projectDataDirName, + Path.GetRelativePath(publishOutputTempDir, Path.GetDirectoryName(file)))); } } } |