فهرست منبع

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 سال پیش
والد
کامیت
da2af72d73
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)
         {
-            AddFile(dstPath, File.ReadAllBytes(srcPath), remap);
+            AddFile(dstPath.Replace("\\", "/"), File.ReadAllBytes(srcPath), remap);
         }
 
         public override void _ExportFile(string path, string type, string[] features)