Browse Source

Merge pull request #32022 from neikeq/fix-mono-export-windows-backslash

Mono: Fix PCK assembly paths when exporting from Windows
Ignacio Roldán Etcheverry 6 years ago
parent
commit
da2af72d73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs

@@ -16,7 +16,7 @@ namespace GodotTools
     {
     {
         private void AddFile(string srcPath, string dstPath, bool remap = false)
         private void AddFile(string srcPath, string dstPath, bool remap = false)
         {
         {
-            AddFile(dstPath, File.ReadAllBytes(srcPath), remap);
+            AddFile(dstPath.Replace("\\", "/"), File.ReadAllBytes(srcPath), remap);
         }
         }
 
 
         public override void _ExportFile(string path, string type, string[] features)
         public override void _ExportFile(string path, string type, string[] features)