/// <summary> /// Gets the Fiesta Run default file name based on version /// </summary> /// <param name="version">The version</param> /// <returns>The file name</returns> public string GetFiestaRunFileName(FiestaRunEdition version) { return(version switch { FiestaRunEdition.Default => "RFR_WinRT.exe", FiestaRunEdition.Preload => "RFR_WinRT_OEM.exe", FiestaRunEdition.Win10 => "RFRXAML.exe", _ => throw new ArgumentOutOfRangeException() });
public bool IsFiestaRunEditionValidAsync(FiestaRunEdition edition) { // Make sure version is at least Windows 8 if (!SupportsWinStoreApps) { return(false); } return(GetGamePackage(GetFiestaRunPackageName(edition)) != null); }
/// <summary> /// Gets the Store ID for the specified version /// </summary> /// <param name="version">The version to get the ID for</param> /// <returns>The ID</returns> public string GetStoreID(FiestaRunEdition version) { return(version switch { FiestaRunEdition.Default => "9wzdncrdds0c", FiestaRunEdition.Preload => "9wzdncrdcw9b", FiestaRunEdition.Win10 => "9nblggh59m6b", _ => throw new ArgumentOutOfRangeException(nameof(version), version, null), });