diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2019-09-07 21:39:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-07 21:39:27 +0200 |
commit | da2af72d7357498dac7ce425c9ad3ab66eadb32f (patch) | |
tree | 3b2b8b97728493b1e2ace9c5d5ef0bc803d98507 /modules/mono/editor | |
parent | 7ea5c907a7351093277bf38cc43f333fa2b82539 (diff) | |
parent | e439581198de92e63661c4fe71108cb59cc2d999 (diff) |
Merge pull request #32022 from neikeq/fix-mono-export-windows-backslash
Mono: Fix PCK assembly paths when exporting from Windows
Diffstat (limited to 'modules/mono/editor')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs b/modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs index aefc51545e..4f93ef8530 100644 --- a/modules/mono/editor/GodotTools/GodotTools/GodotSharpExport.cs +++ b/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) |