Skip to content

Commit

Permalink
fix(ext): missing extension YAML file (#603)
Browse files Browse the repository at this point in the history
Closes #601
  • Loading branch information
andrew-codes authored Oct 28, 2024
2 parents dd57414 + 53b793d commit 7d824ad
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 7d824ad

Please sign in to comment.