Skip to content

Commit

Permalink
Fixed issue with slashes in game and local path property.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeltyPlayer committed Dec 19, 2024
1 parent 634a702 commit a3864e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.IO;

namespace fin.io.bundles;

Expand Down Expand Up @@ -50,5 +51,6 @@ public class AnnotatedFileBundle<TFileBundle>(
public IFileHierarchyFile File => file;
public string LocalPath => file.LocalPath;

public string GameAndLocalPath => $"{file.Hierarchy.Name}/{this.LocalPath}";
public string GameAndLocalPath
=> Path.Join(file.Hierarchy.Name, this.LocalPath);
}

0 comments on commit a3864e3

Please sign in to comment.