From 8985e9d1417d3f91645ba621c6c47769ba77be97 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Wed, 4 Aug 2021 20:03:35 -0500 Subject: [PATCH] Moved install button next to reset button --- ZuneModCore/Mods/VideoSyncMod.cs | 2 +- ZuneModdingHelper.sln | 16 ++--- ZuneModdingHelper/App.xaml.cs | 8 +-- ZuneModdingHelper/MainWindow.xaml | 70 +++++++++++++--------- ZuneModdingHelper/MainWindow.xaml.cs | 7 ++- ZuneModdingHelper/ZuneModdingHelper.csproj | 6 +- ZuneModdingHelper/app.manifest | 2 +- 7 files changed, 66 insertions(+), 45 deletions(-) diff --git a/ZuneModCore/Mods/VideoSyncMod.cs b/ZuneModCore/Mods/VideoSyncMod.cs index 473c1ac..a2c7c3c 100644 --- a/ZuneModCore/Mods/VideoSyncMod.cs +++ b/ZuneModCore/Mods/VideoSyncMod.cs @@ -30,7 +30,7 @@ namespace ZuneModCore.Mods { // Make a backup of the original file FileVersionInfo wmvDllVersionInfo = FileVersionInfo.GetVersionInfo(WMVCORE_PATH); - if (Version.Parse(wmvDllVersionInfo.ProductVersion!) <= new Version(12, 0, 10586, 0)) + if (Version.Parse(wmvDllVersionInfo.ProductVersion!) != new Version(12, 0, 10586, 0)) File.Copy(WMVCORE_PATH, Path.Combine(StorageDirectory, "WMVCORE.original.dll"), true); // Get the working WMVCORE.dll diff --git a/ZuneModdingHelper.sln b/ZuneModdingHelper.sln index 1f7b0c3..4abc2b0 100644 --- a/ZuneModdingHelper.sln +++ b/ZuneModdingHelper.sln @@ -17,26 +17,26 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|Any CPU.ActiveCfg = Debug|x86 + {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|Any CPU.Build.0 = Debug|x86 {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|x64.ActiveCfg = Debug|x64 {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|x64.Build.0 = Debug|x64 {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|x86.ActiveCfg = Debug|x86 {A4AE840D-BC01-4E60-B106-289218D9479F}.Debug|x86.Build.0 = Debug|x86 - {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|Any CPU.Build.0 = Release|Any CPU + {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|Any CPU.ActiveCfg = Release|x86 + {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|Any CPU.Build.0 = Release|x86 {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|x64.ActiveCfg = Release|x64 {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|x64.Build.0 = Release|x64 {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|x86.ActiveCfg = Release|x86 {A4AE840D-BC01-4E60-B106-289218D9479F}.Release|x86.Build.0 = Release|x86 - {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|Any CPU.ActiveCfg = Debug|x86 + {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|Any CPU.Build.0 = Debug|x86 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|x64.ActiveCfg = Debug|x64 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|x64.Build.0 = Debug|x64 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|x86.ActiveCfg = Debug|x86 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Debug|x86.Build.0 = Debug|x86 - {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|Any CPU.Build.0 = Release|Any CPU + {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|Any CPU.ActiveCfg = Release|x86 + {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|Any CPU.Build.0 = Release|x86 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|x64.ActiveCfg = Release|x64 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|x64.Build.0 = Release|x64 {4B1587B5-0DE2-4E94-87FC-239D5E7FC4E7}.Release|x86.ActiveCfg = Release|x86 diff --git a/ZuneModdingHelper/App.xaml.cs b/ZuneModdingHelper/App.xaml.cs index ce2a0c9..8507453 100644 --- a/ZuneModdingHelper/App.xaml.cs +++ b/ZuneModdingHelper/App.xaml.cs @@ -11,13 +11,13 @@ namespace ZuneModdingHelper /// public partial class App : Application { - public static readonly string Title = "Zune Modding Helper"; + public const string Title = "Zune Modding Helper"; - public static readonly Version VersionNum = new(2021, 5, 30, 0); - public static readonly string VersionStatus = "alpha"; + public static readonly Version VersionNum = new(2021, 8, 4, 0); + public const string VersionStatus = "alpha"; public static readonly string Version = VersionNum.ToString() + (VersionStatus != string.Empty ? "-" + VersionStatus : string.Empty); - public static readonly string DonateLink = "https://www.paypal.me/YoshiAsk"; + public const string DonateLink = "https://www.paypal.me/YoshiAsk"; protected override void OnStartup(StartupEventArgs e) { diff --git a/ZuneModdingHelper/MainWindow.xaml b/ZuneModdingHelper/MainWindow.xaml index 76eff2f..82045ab 100644 --- a/ZuneModdingHelper/MainWindow.xaml +++ b/ZuneModdingHelper/MainWindow.xaml @@ -55,38 +55,54 @@ - + + + + + - - - - - - - - - + + - + + + + + + + + + + + + - - + + - - - + + + @@ -102,12 +118,12 @@ - + -