Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
william-stacken committed Jul 29, 2021
1 parent d60cf9b commit 3d3679a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plugins/TiriryaraiMitm/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 8 additions & 1 deletion Tiriryarai/Util/Resources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 3d3679a

Please sign in to comment.