Skip to content

Commit

Permalink
Remove getManifest as not currently used, not likely to be used and…
Browse files Browse the repository at this point in the history
… simple to reimplment.
  • Loading branch information
toebeann committed Jan 25, 2025
1 parent 7a966d8 commit e8ab865
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/launchers/epic/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,3 @@ export const getManifestByPath = async (path: string) => {
if (manifest.installLocation === path) return manifest;
}
};

/**
* Gets information about an installed Epic Games Launcher app, parsed from
* its `${InstallationGuid}.item` manifest file.
*
* Resolves `undefined` if a matching manifest cannot be found.
*
* @param idOrPath The ArtifactId, AppName or InstallLocation of the app.
*/
export const getManifest = (idOrPath: string) =>
basename(idOrPath) === idOrPath
? getManifestById(idOrPath)
: getManifestByPath(idOrPath);

0 comments on commit e8ab865

Please sign in to comment.