Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
fix oopsie.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadlyKitten committed Oct 3, 2021
1 parent f6eee09 commit d29d093
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MonkeModManager/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class FormMain : Form
{

private const string BaseEndpoint = "https://api.github.com/repos/";
private const Int16 CurrentVersion = 5;
private const Int16 CurrentVersion = 6;
private List<ReleaseInfo> releases;
Dictionary<string, int> groups = new Dictionary<string, int>();
private string InstallDirectory = @"";
Expand Down Expand Up @@ -79,7 +79,7 @@ private void LoadReleases()
for (int i = 0; i < allMods.Count; i++)
{
JSONNode current = allMods[i];
ReleaseInfo release = new ReleaseInfo(current["name"], current["author"], current["version"], current["group"], current["download_url"], current["install_location"], current["dependencies"].AsArray);
ReleaseInfo release = new ReleaseInfo(current["name"], current["author"], current["version"], current["group"], current["download_url"], current["install_location"], current["git_path"], current["dependencies"].AsArray);
//UpdateReleaseInfo(ref release);
releases.Add(release);
}
Expand Down
3 changes: 2 additions & 1 deletion MonkeModManager/Internals/ReleaseInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ public class ReleaseInfo
public bool Install = true;
public List<string> Dependencies = new List<string>();
public List<string> Dependents = new List<string>();
public ReleaseInfo(string _name, string _author, string _version, string _group, string _link, string _installLocation, JSONArray dependencies)
public ReleaseInfo(string _name, string _author, string _version, string _group, string _link, string _installLocation, string _gitPath, JSONArray dependencies)
{
Name = _name;
Author = _author;
Version = _version;
Group = _group;
Link = _link;
GitPath = _gitPath;
InstallLocation = _installLocation;
Group = _group;

Expand Down

1 comment on commit d29d093

@DeadlyKitten
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stop posting random comments on commits that have no relevance to what you're saying. If you're having trouble getting mods go to the discord and use the designated help channels.

Please # to comment.