Skip to content

Commit

Permalink
Version 0.9.1
Browse files Browse the repository at this point in the history
Reject files with "with_bootloader" in the name
  • Loading branch information
eried committed May 22, 2017
1 parent b09dc8a commit 41dfaea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ArduLoader/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void backgroundWorkerUploader_DoWork(object sender, DoWorkEventArgs e)
}

// Check the hex file (maximum size and extension just to be sure)
if (!File.Exists(input) || Path.GetExtension(input).ToLower() != ".hex" ||
if (!File.Exists(input) || Path.GetExtension(input).ToLower() != ".hex" || Path.GetFileName(input).Contains(".with_bootloader.") ||
new FileInfo(input).Length > Resources.ParamMaximumHexFilesizeKB * 1024)
{
throw new Exception("Invalid hex file");
Expand Down
4 changes: 2 additions & 2 deletions src/ArduLoader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]
[assembly: AssemblyVersion("0.9.1.0")]
[assembly: AssemblyFileVersion("0.9.1.0")]

0 comments on commit 41dfaea

Please sign in to comment.