Skip to content

Commit

Permalink
Change Vortex Mod ID to string.
Browse files Browse the repository at this point in the history
It doesn't have to be a number, it can have values like "skse64" for non-Nexus mods.

This also changes the types in the Vortex extension, but since this has no effect on the generated JS, it shouldn't require a new extension release.

Fixes #30.
  • Loading branch information
focustense committed Jul 17, 2021
1 parent 024fa16 commit 5a39a70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Focus.ModManagers.Vortex.Launcher/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ enum GameId {
}

interface IModAttributes {
modId: number;
modId: string;
modName: string;
}

interface IFileInfo {
modId: number;
modId: string;
}

interface IModInfo {
Expand Down
4 changes: 2 additions & 2 deletions Focus.ModManagers.Vortex/ModManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ namespace Focus.ModManagers.Vortex
public class ModManifest
{
public Dictionary<string, FileInfo> Files { get; set; }
public Dictionary<int, ModInfo> Mods { get; set; }
public Dictionary<string, ModInfo> Mods { get; set; }
public string StagingDir { get; set; }
}

public class FileInfo
{
public int ModId { get; set; }
public string ModId { get; set; }
}

public class ModInfo
Expand Down

0 comments on commit 5a39a70

Please sign in to comment.