Skip to content

Commit

Permalink
Merge pull request #5 from gusowski1/master
Browse files Browse the repository at this point in the history
Add Update Check to Advanced Connect Plugin
  • Loading branch information
aalbng committed Oct 14, 2019
2 parents 577566d + 954c222 commit ae37962
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
11 changes: 8 additions & 3 deletions AdvancedConnectPlugin/AdvancedConnectExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ with the License. You may obtain a copy of the License at

namespace AdvancedConnectPlugin
{
public sealed class AdvancedConnectPluginExt : KeePass.Plugins.Plugin
public sealed class AdvancedConnectPluginExt : Plugin
{
public IPluginHost keepassHost = null;
public Data.Settings settings = null;
public String pathToPluginConfigFile = String.Empty;
private GUI.ToolsMenuExtension toolsMenuExtension = null;
private GUI.ContextMenuExtension contextMenuExtension = null;
public Icon pluginIcon = null;


//Keepass start; Load plugin
public override bool Initialize(IPluginHost keepassHost)
{
Expand Down Expand Up @@ -84,5 +84,10 @@ public void buildConfigPath()
}
}

//Keepass update check
public override string UpdateUrl
{
get { return "https://raw.githubusercontent.com/gusowski1/AdvancedConnectPlugin/master/version.txt"; }
}
}
}
3 changes: 3 additions & 0 deletions AdvancedConnectPlugin/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.0.5
Added updatecheck

1.0.4
Added optional portable/admin configuration

Expand Down
4 changes: 2 additions & 2 deletions AdvancedConnectPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ with the License. You may obtain a copy of the License at
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.4.0")]
[assembly: AssemblyFileVersion("1.0.4.0")]
[assembly: AssemblyVersion("1.0.5.0")]
[assembly: AssemblyFileVersion("1.0.5.0")]
3 changes: 3 additions & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:
Advanced Connect Plugin:1.0.5
:

0 comments on commit ae37962

Please sign in to comment.