// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. //! Epic Games Launcher: one JSON `.item` manifest per installed app in //! `%ProgramData%\Epic\EpicGamesLauncher\Data\Manifests`. Launch is //! `com.epicgames.launcher://apps/?action=launch&silent=true`. use crate::error::ParseError; use crate::model::Game; /// The game described by one `.item` manifest. Reads `AppName`, `DisplayName` and `InstallLocation` (all /// required strings) and `MainGameAppName` (optional; when it names another app the file is an add-on and gives /// [`ParseError::NotAGame`]). Other fields are ignored but must still be well-formed JSON within the caps. pub fn item(json: &[u8]) -> Result { let _ = json; Err(ParseError::Syntax { at: 0 }) }