Skip to content

Commit

Permalink
Merge pull request #24 from JunielKatarn/move_content_cache
Browse files Browse the repository at this point in the history
Moved the contentCache next to the user settings folder.
  • Loading branch information
maxton authored Mar 11, 2017
2 parents 3d9b68c + 896e6f3 commit d48082d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Model/Library.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public static class Library
{
private static readonly string CacheFileName = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"contentCache");
"Jam.NET", // Must match root namespace
"contentCache.xml");

private static Dictionary<Guid, SongMeta> _cache;

Expand Down Expand Up @@ -141,4 +142,4 @@ public static List<SongMeta> GetSongs()
return _cache.Values.ToList();
}
}
}
}

0 comments on commit d48082d

Please sign in to comment.