Skip to content

Commit

Permalink
fix(ext): missing extension YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Oct 28, 2024
1 parent dd57414 commit 53b793d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/PlayniteWebPlugin/src/PlayniteWeb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class PlayniteWeb : GenericPlugin

public PlayniteWeb(IPlayniteAPI api) : base(api)
{
var extensionInfoYaml = System.IO.File.ReadAllText(Path.Combine(api.Paths.ExtensionsDataPath, "extension.yaml"));
var extensionInfoYaml = System.IO.File.ReadAllText(Path.Combine(api.Paths.ExtensionsDataPath, "..", "Extensions", $"PlayniteWeb_{this.Id}", "extension.yaml"));
var extension = Serialization.FromYaml<Dictionary<string, string>>(extensionInfoYaml);
_version = extension["Version"];

Expand Down

0 comments on commit 53b793d

Please sign in to comment.