mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Bump version for Video Sync and Webservices mods
This commit is contained in:
@@ -12,10 +12,10 @@ public class VideoSyncModFactory : DIModFactoryBase<VideoSyncMod>
|
|||||||
private const string Description =
|
private const string Description =
|
||||||
"Resolves \"Error C00D11CD\" when attempting to sync video to a Zune device using Windows 10 1607 (Anniversary Update) or newer";
|
"Resolves \"Error C00D11CD\" when attempting to sync video to a Zune device using Windows 10 1607 (Anniversary Update) or newer";
|
||||||
|
|
||||||
private const string Author = "sylvathemoth";
|
private const string Author = "ส็็็Codix#4833 & sylvathemoth";
|
||||||
|
|
||||||
public override ModMetadata Metadata => new(nameof(VideoSyncMod), "Fix Video Sync",
|
public override ModMetadata Metadata => new(nameof(VideoSyncMod), "Fix Video Sync",
|
||||||
Description, Author, new(2, 0));
|
Description, Author, new(2, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
public class VideoSyncMod(ModMetadata metadata, IModCoreConfig modConfig) : Mod(metadata)
|
public class VideoSyncMod(ModMetadata metadata, IModCoreConfig modConfig) : Mod(metadata)
|
||||||
@@ -26,6 +26,11 @@ public class VideoSyncMod(ModMetadata metadata, IModCoreConfig modConfig) : Mod(
|
|||||||
|
|
||||||
public override async Task<string?> Apply()
|
public override async Task<string?> Apply()
|
||||||
{
|
{
|
||||||
|
if (OperatingSystem.IsWindowsVersionAtLeast(10, 0, 14393))
|
||||||
|
{
|
||||||
|
return "This version of Windows does not require a fix for syncing video.";
|
||||||
|
}
|
||||||
|
|
||||||
// Verify that ZuneEncEng.dll exists
|
// Verify that ZuneEncEng.dll exists
|
||||||
FileInfo zeeDllInfo = new(Path.Combine(ZuneInstallDir, "ZuneEncEng.dll"));
|
FileInfo zeeDllInfo = new(Path.Combine(ZuneInstallDir, "ZuneEncEng.dll"));
|
||||||
if (!zeeDllInfo.Exists)
|
if (!zeeDllInfo.Exists)
|
||||||
|
|||||||
@@ -12,20 +12,20 @@ using System.Text;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using ZuneModCore.Services;
|
||||||
using static ZuneModCore.Mods.FeaturesOverrideMod;
|
using static ZuneModCore.Mods.FeaturesOverrideMod;
|
||||||
|
|
||||||
namespace ZuneModCore.Mods;
|
namespace ZuneModCore.Mods;
|
||||||
|
|
||||||
public class WebservicesModFactory : DIModFactoryBase<WebservicesMod>
|
public class WebservicesModFactory : DIModFactoryBase<WebservicesMod>
|
||||||
{
|
{
|
||||||
|
|
||||||
private const string Description = "Partially restores online features such as the Marketplace by patching the Zune desktop software " +
|
private const string Description = "Partially restores online features such as the Marketplace by patching the Zune desktop software " +
|
||||||
"to use the community's recreation of Microsoft's Zune servers at zunes.me (instead of zune.net).";
|
"to use the community's recreation of Microsoft's Zune servers at zunes.me (instead of zune.net).";
|
||||||
|
|
||||||
private const string Author = "Joshua \"Yoshi\" Askharoun";
|
private const string Author = "Joshua \"Yoshi\" Askharoun";
|
||||||
|
|
||||||
public override ModMetadata Metadata => new(nameof(WebservicesMod), "Community Webservices",
|
public override ModMetadata Metadata => new(nameof(WebservicesMod), "Community Webservices",
|
||||||
Description, Author, new(1, 1));
|
Description, Author, new(1, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public partial class WebservicesMod(ModMetadata metadata, IModCoreConfig modConfig) : Mod(metadata), IAsyncInit
|
public partial class WebservicesMod(ModMetadata metadata, IModCoreConfig modConfig) : Mod(metadata), IAsyncInit
|
||||||
|
|||||||
Reference in New Issue
Block a user