Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-10 18:16:11 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-10 18:16:11 +0300
commit690b60216f26582f39823eb8ca583338be62deee (patch)
treef7be69c26167245c9aa17607e637d04cf070c4a0
parent39c40a7d3a46015d93f634522af816de8988260c (diff)
More tiny fixes. Release 2.21b.2.21
-rw-r--r--FelLib/Fel.cs12
-rw-r--r--Properties/AssemblyInfo.cs4
-rw-r--r--hakchi_gui.csproj4
3 files changed, 14 insertions, 6 deletions
diff --git a/FelLib/Fel.cs b/FelLib/Fel.cs
index 7e3a8bdd..d72b06b0 100644
--- a/FelLib/Fel.cs
+++ b/FelLib/Fel.cs
@@ -149,9 +149,17 @@ namespace com.clusterrr.FelLib
epWriter = device.OpenEndpointWriter((WriteEndpointID)outEndp);
Debug.WriteLine("Trying to verify device");
- if (VerifyDevice().Board != 0x00166700)
+ try
+ {
+ if (VerifyDevice().Board != 0x00166700)
+ {
+ Debug.WriteLine("Invalid board ID: " + VerifyDevice().Board);
+ return false;
+ }
+ }
+ catch (Exception ex)
{
- Debug.WriteLine("Invalid board ID: " + VerifyDevice().Board);
+ Debug.WriteLine("Error: " + ex.Message + ex.StackTrace);
return false;
}
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index da39f212..55f2164a 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -33,6 +33,6 @@ using System.Resources;
// 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("2.0.21.23")]
-[assembly: AssemblyFileVersion("2.0.21.23")]
+[assembly: AssemblyVersion("2.0.21.30")]
+[assembly: AssemblyFileVersion("2.0.21.30")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj
index 9a91b011..d24979d5 100644
--- a/hakchi_gui.csproj
+++ b/hakchi_gui.csproj
@@ -31,8 +31,8 @@
<PublisherName>Alexey %27Cluster%27 Avdyukhin</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
- <ApplicationRevision>23</ApplicationRevision>
- <ApplicationVersion>2.0.21.23</ApplicationVersion>
+ <ApplicationRevision>30</ApplicationRevision>
+ <ApplicationVersion>2.0.21.30</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>