summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Utilities/PathUtilities.cs
AgeCommit message (Collapse)Author
2021-03-08fix installer error when Mods folder doesn't exist in 3.9.3 (#764)Jesse Plamondon-Willard
2021-03-07add descriptive error for PathTooLongException which crashes SMAPI or the ↵Jesse Plamondon-Willard
installer
2020-09-08rename PathUtilities.NormalizePathSeparator, add normalization for more casesJesse Plamondon-Willard
2020-09-05simplify path separator normalizationJesse Plamondon-Willard
It no longer tries to clean up the path (e.g. "path/to///file/" => "path/to/file"), which means it can more intuitively handle cases like this: asset.AssetName.StartsWith(PathUtilities.NormalizePathSeparators("Characters/Dialogue/"))
2020-09-05add unit tests for PathUtilities, fix some edge casesJesse Plamondon-Willard
2020-02-22fix errors loading spouse room content packs in SMAPI 3.3Jesse Plamondon-Willard
The new logic for loading map tilesheets incorrectly changed vanilla tilesheets like "townInterior" to "Maps/townInterior". While the game itself handled that, mods like Content Patcher which compared tilesheet paths would incorrectly decide that "townInterior" and "Maps/townInterior" were different files, and add a new tilesheet for it; that in turn would cause errors when patching spouse rooms, since it doesn't copy tilesheets.
2019-09-14fix typos and inconsistent spellingJesse Plamondon-Willard
2019-09-13migrate to new project file formatJesse Plamondon-Willard