diff options
author | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-01 00:02:04 +0100 |
---|---|---|
committer | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-01 00:37:12 +0100 |
commit | 70ebb6378cdceeaeaca064dbadbe4e2d86ce57e0 (patch) | |
tree | 551f55729b0c124491c9ff86cf80e51abdb16a0b /modules/mono | |
parent | 0810ecaafdbee3ea747219e6ab3a8de5d2216a09 (diff) |
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)))); } } } |