Skip to content

Commit

Permalink
Fix component installation
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Jul 3, 2016
1 parent dd55ab8 commit 16cb48f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAPS2.Core/Ocr/OcrComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.IO;
using System.Linq;
using System.Text;
using NAPS2.Util;

namespace NAPS2.Ocr
{
Expand Down Expand Up @@ -43,6 +44,7 @@ public void Install(string sourcePath)
{
throw new InvalidOperationException();
}
PathHelper.EnsureParentDirExists(Path);
File.Move(sourcePath, Path);
}
}
Expand Down

0 comments on commit 16cb48f

Please sign in to comment.