diff --git a/README.md b/README.md
index f1cfc0b..7110058 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# KeePass for StreamDeck
+# KeePass for Stream Deck
## Description
Simple interface to retrieve information from a KeePass database and generate passwords using [KeePassLib](https://www.nuget.org/packages/KeePassLib/).
@@ -45,4 +45,11 @@ It uses the following configuration:
Check [KeePass Password Generator](https://keepass.info/help/base/pwgenerator.html) help site for more information.
+## My other Stream Deck plugins
+
+- **[Color Picker](https://github.com/VictorGrycuk/streamdeck-color-picker)**
+- **[Magnifier](https://github.com/VictorGrycuk/streamdeck-magnifier)**
+
+---
+
The icon for this action is a modified version of *iOS Filled* at [Icon8](https://icons8.com).
\ No newline at end of file
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/KeePassGenerate.cs b/StreamDeck-KeePass/StreamDeck-KeePass/KeePassGenerate.cs
index 825e1c5..4e7c7a3 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/KeePassGenerate.cs
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/KeePassGenerate.cs
@@ -119,10 +119,13 @@ public override void KeyPressed(KeyPayload payload)
if (pw.IsEmpty)
{
+ Connection.ShowAlert().Wait();
Logger.Instance.LogMessage(TracingLevel.WARN, "No password was generated with the given configuration");
return;
}
+ Connection.ShowOk().Wait();
+
ClipboardHelper.SendToClipboard(pw.ReadString());
}
catch (Exception ex)
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/KeePassRetrieve.cs b/StreamDeck-KeePass/StreamDeck-KeePass/KeePassRetrieve.cs
index e60c0e6..b6f4cfe 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/KeePassRetrieve.cs
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/KeePassRetrieve.cs
@@ -86,8 +86,10 @@ public override void KeyPressed(KeyPayload payload)
if (entryList.Count() == 0)
{
+ Connection.ShowAlert().Wait();
Logger.Instance.LogMessage(TracingLevel.WARN, $"No entry found for the title '{ settings.EntryTitle }'.");
db.Close();
+
return;
}
@@ -111,10 +113,13 @@ public override void KeyPressed(KeyPayload payload)
break;
}
+ Connection.ShowOk().Wait();
+
db.Close();
}
catch (Exception ex)
{
+ Connection.ShowAlert();
Logger.Instance.LogMessage(TracingLevel.INFO, ex.Message);
}
}
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/Program.cs b/StreamDeck-KeePass/StreamDeck-KeePass/Program.cs
index 26eb574..d269639 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/Program.cs
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/Program.cs
@@ -1,9 +1,4 @@
using BarRaider.SdTools;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
namespace StreamDeck_KeePass
{
@@ -11,9 +6,6 @@ class Program
{
static void Main(string[] args)
{
- // Uncomment this line of code to allow for debugging
- //while (!System.Diagnostics.Debugger.IsAttached) { System.Threading.Thread.Sleep(100); }
-
SDWrapper.Run(args);
}
}
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/Properties/AssemblyInfo.cs b/StreamDeck-KeePass/StreamDeck-KeePass/Properties/AssemblyInfo.cs
index 830d415..37017e9 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/Properties/AssemblyInfo.cs
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/Properties/AssemblyInfo.cs
@@ -5,12 +5,12 @@
// 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("StreamDeck-KeePass")]
+[assembly: AssemblyTitle("KeePass")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("StreamDeck-KeePass")]
-[assembly: AssemblyCopyright("Copyright © 2020")]
+[assembly: AssemblyProduct("KeePass for Stream Deck")]
+[assembly: AssemblyCopyright("Copyright © Victor Grycuk 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@
// 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.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.3.0.0")]
+[assembly: AssemblyFileVersion("1.3.0.0")]
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/StreamDeck-KeePass.csproj b/StreamDeck-KeePass/StreamDeck-KeePass/StreamDeck-KeePass.csproj
index ddb2c7f..76d5088 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/StreamDeck-KeePass.csproj
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/StreamDeck-KeePass.csproj
@@ -47,6 +47,9 @@
prompt
4
+
+ keepass.ico
+
..\packages\CommandLineParser.2.7.82\lib\net461\CommandLine.dll
@@ -136,6 +139,7 @@
PreserveNewest
+
PreserveNewest
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/keepass.ico b/StreamDeck-KeePass/StreamDeck-KeePass/keepass.ico
new file mode 100644
index 0000000..be92714
Binary files /dev/null and b/StreamDeck-KeePass/StreamDeck-KeePass/keepass.ico differ
diff --git a/StreamDeck-KeePass/StreamDeck-KeePass/manifest.json b/StreamDeck-KeePass/StreamDeck-KeePass/manifest.json
index 5848b20..0f37492 100644
--- a/StreamDeck-KeePass/StreamDeck-KeePass/manifest.json
+++ b/StreamDeck-KeePass/StreamDeck-KeePass/manifest.json
@@ -36,7 +36,7 @@
"Description": "Simple interface to retrieve information from KeePass database. Unofficial.",
"Icon": "Images/pluginIcon",
"URL": "https://github.com/VictorGrycuk/StreamDeck-KeePass",
- "Version": "1.2",
+ "Version": "1.3",
"CodePath": "streamdeck-keepass",
"Category": "KeePass",
"CategoryIcon": "Images/categoryIcon",