From 3d3679ae46e916b7b6f0791ce1c63db2795e190c Mon Sep 17 00:00:00 2001 From: william-stacken Date: Thu, 29 Jul 2021 19:48:33 +0200 Subject: [PATCH] update version --- Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs | 2 +- Tiriryarai/Util/Resources.cs | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs b/Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs index e0a7cae..c1f1a0a 100644 --- a/Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs +++ b/Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs @@ -39,7 +39,7 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion("0.9.*")] +[assembly: AssemblyVersion("1.0.*")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/Tiriryarai/Util/Resources.cs b/Tiriryarai/Util/Resources.cs index d4b4550..2826b5a 100644 --- a/Tiriryarai/Util/Resources.cs +++ b/Tiriryarai/Util/Resources.cs @@ -29,7 +29,14 @@ namespace Tiriryarai.Util static class Resources { public static readonly Assembly Assembly = typeof(Resources).Assembly; - public static readonly Version Version = Assembly.GetName().Version; + public static Version Version + { + get + { + Version v = Assembly.GetName().Version; + return new Version(v.Major, v.Minor); + } + } public static readonly string HOSTNAME = "tiriryarai"; public static readonly string CA_ISSUER_PATH = "TiriryaraiCA.crt";