Skip to content

Commit

Permalink
apparently non-windows systems don't like backslashes in zips
Browse files Browse the repository at this point in the history
waow
  • Loading branch information
orels1 committed Aug 3, 2024
1 parent 34a4329 commit ac9884c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Tools/Editor/ReleaseExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private static void ExportAsZip(string baseFolder, List<string> ingored, string
{
foreach (var file in list)
{
var entry = zip.CreateEntry(file.Replace(basePath, ""));
var entry = zip.CreateEntry(file.Replace(basePath, "").Replace('\\', '/'));
using (var stream = File.OpenRead(file))
{
using (var entryStream = entry.Open())
Expand Down

0 comments on commit ac9884c

Please sign in to comment.