diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-12-05 19:10:39 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-12-05 19:10:39 -0500 |
commit | 8a2618d812e4e2f36161907af5af5c484eb37abf (patch) | |
tree | c164325cf57fb43e4375e94dc584fbc3ab3ceeb5 /src/SMAPI.Installer/Framework | |
parent | 42e878e77d58569be81e34ca206a78e0ebe0604d (diff) | |
parent | 5b5dd47c22a1332a4c432d6a1cd414b5c83388d7 (diff) | |
download | SMAPI-8a2618d812e4e2f36161907af5af5c484eb37abf.tar.gz SMAPI-8a2618d812e4e2f36161907af5af5c484eb37abf.tar.bz2 SMAPI-8a2618d812e4e2f36161907af5af5c484eb37abf.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Installer/Framework')
-rw-r--r-- | src/SMAPI.Installer/Framework/InstallerContext.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI.Installer/Framework/InstallerContext.cs b/src/SMAPI.Installer/Framework/InstallerContext.cs index 95df32ca..bb973230 100644 --- a/src/SMAPI.Installer/Framework/InstallerContext.cs +++ b/src/SMAPI.Installer/Framework/InstallerContext.cs @@ -54,5 +54,12 @@ namespace StardewModdingAPI.Installer.Framework { return this.GameScanner.LooksLikeGameFolder(dir); } + + /// <summary>Get whether a folder seems to contain the game, and which version it contains if so.</summary> + /// <param name="dir">The folder to check.</param> + public GameFolderType GetGameFolderType(DirectoryInfo dir) + { + return this.GameScanner.GetGameFolderType(dir); + } } } |