From f9405697bd2bad556c5b8e9ba6f4ba6dba92b9c3 Mon Sep 17 00:00:00 2001 From: MELVAR Date: Tue, 13 Jul 2021 08:49:58 +0200 Subject: [PATCH] changed manifest and set up post build release event --- .gitignore | 3 +- LeagueAccManager/LeaguePassManager.csproj | 33 ++++++++- LeagueAccManager/MainWindow.xaml.cs | 4 +- LeagueAccManager/Properties/AssemblyInfo.cs | 4 +- .../Properties/Resources.Designer.cs | 4 +- .../Properties/Settings.Designer.cs | 2 +- LeagueAccManager/Properties/app.manifest | 73 +++++++++++++++++++ 7 files changed, 113 insertions(+), 10 deletions(-) create mode 100644 LeagueAccManager/Properties/app.manifest diff --git a/.gitignore b/.gitignore index 9491a2f..47e5b3c 100644 --- a/.gitignore +++ b/.gitignore @@ -360,4 +360,5 @@ MigrationBackup/ .ionide/ # Fody - auto-generated XML schema -FodyWeavers.xsd \ No newline at end of file +FodyWeavers.xsd +/PublishOutput diff --git a/LeagueAccManager/LeaguePassManager.csproj b/LeagueAccManager/LeaguePassManager.csproj index 3b77b09..40e37fc 100644 --- a/LeagueAccManager/LeaguePassManager.csproj +++ b/LeagueAccManager/LeaguePassManager.csproj @@ -6,7 +6,7 @@ AnyCPU {2B911D9D-C4D3-4972-BC6A-050947CCBBA1} WinExe - WpfApp1 + LeaguePassManager League Pass Manager v4.7.2 512 @@ -28,9 +28,15 @@ false false true - 0 + en + League Account Manager + MELVAR + false + true + 3 1.0.0.%2a false + true true @@ -56,6 +62,24 @@ Pass Manager Logo.ico + + false + + + 311E7AB35CAEB5EDBD736EBD6FE9B41BCCC75F22 + + + LeaguePassManager_TemporaryKey.pfx + + + true + + + LocalIntranet + + + Properties\app.manifest + @@ -137,7 +161,9 @@ ResXFileCodeGenerator Resources.Designer.cs + + SettingsSingleFileGenerator Settings.Designer.cs @@ -189,4 +215,7 @@ + + if $(ConfigurationName) == Release (powershell.exe -Command $null=mkdir '$(SolutionDir)PublishOutput'; Compress-Archive -CompressionLevel Optimal -Path '$(TargetDir)*.dll','$(TargetDir)*.exe', '$(TargetDir)*.config' -DestinationPath '$(SolutionDir)PublishOutput\release.zip' -Force) + \ No newline at end of file diff --git a/LeagueAccManager/MainWindow.xaml.cs b/LeagueAccManager/MainWindow.xaml.cs index ef2eac0..2b5711d 100644 --- a/LeagueAccManager/MainWindow.xaml.cs +++ b/LeagueAccManager/MainWindow.xaml.cs @@ -335,7 +335,7 @@ private async void fillButton_Click(object sender, RoutedEventArgs e) } else { - MessageBox.Show("League of Legends login screen not found..."); + MessageBox.Show("League of Legends login screen not found... If you want to automatically open the client you can turn on this option in the settings tab"); this.Show(); } } @@ -435,7 +435,7 @@ private async void valorantFillButton_Click(object sender, RoutedEventArgs e) } else { - MessageBox.Show("Valorant login screen not found..."); + MessageBox.Show("Valorant login screen not found... If you want to automatically open the client you can turn on this option in the settings tab"); this.Show(); } } diff --git a/LeagueAccManager/Properties/AssemblyInfo.cs b/LeagueAccManager/Properties/AssemblyInfo.cs index 70eb848..90ead1a 100644 --- a/LeagueAccManager/Properties/AssemblyInfo.cs +++ b/LeagueAccManager/Properties/AssemblyInfo.cs @@ -7,11 +7,11 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("WpfApp1")] +[assembly: AssemblyTitle("League Account Manager")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("WpfApp1")] +[assembly: AssemblyProduct("League Account Manager")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/LeagueAccManager/Properties/Resources.Designer.cs b/LeagueAccManager/Properties/Resources.Designer.cs index effe01c..5499c4d 100644 --- a/LeagueAccManager/Properties/Resources.Designer.cs +++ b/LeagueAccManager/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace LeaguePassManager.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WpfApp1.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LeaguePassManager.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/LeagueAccManager/Properties/Settings.Designer.cs b/LeagueAccManager/Properties/Settings.Designer.cs index 8767c64..c3f0269 100644 --- a/LeagueAccManager/Properties/Settings.Designer.cs +++ b/LeagueAccManager/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace LeaguePassManager.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/LeagueAccManager/Properties/app.manifest b/LeagueAccManager/Properties/app.manifest new file mode 100644 index 0000000..ef6918c --- /dev/null +++ b/LeagueAccManager/Properties/app.manifest @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file