Skip to content

Commit

Permalink
Merge pull request #894 from justarandomguyintheinternet/main
Browse files Browse the repository at this point in the history
Temporarily Fix RedMod not being detected
  • Loading branch information
rfuzzo committed Sep 8, 2022
2 parents c7dcd90 + 3fea6c8 commit 4a7f941
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions WolvenKit.App/Services/PluginService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,13 @@ private void PopulatePlugins()
if (id == EPlugin.redmod)
{
var plugin = Plugins.FirstOrDefault(x => x.Id == id);
var redModManifest = Path.Combine(plugin.InstallPath, "version.txt");
if (File.Exists(redModManifest))
var redMod = Path.Combine(plugin.InstallPath, "redMod.exe");
if (File.Exists(redMod))
{
var redModLocalversion = "";
redModLocalversion = File.ReadAllText(redModManifest);
// TODO remoteVersion
// TODO add redmod version.txt

// remoteVersion
// REDMODTODO
var redModLocalversion = "1.0";
var redModRemoteVersion = "1.0";

if (redModLocalversion != redModRemoteVersion)
Expand Down

0 comments on commit 4a7f941

Please sign in to comment.