X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win%2FC%23%2FFunctions%2FMain.cs;h=f78d38a97adb766d8e84a3876c2c525cfb1154ce;hb=bb51542a603ec0b8a2642e4a8cbb3856d677b6db;hp=3b1e54631566b0eb6217318f158212630217aeaf;hpb=374702658bf34beca6051cecb90fcb544625653b;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs index 3b1e5463..f78d38a9 100644 --- a/win/C#/Functions/Main.cs +++ b/win/C#/Functions/Main.cs @@ -295,7 +295,7 @@ namespace Handbrake.Functions // Get the SHA1 Hash of HandBrakeCLI byte[] hash; - using (Stream stream = File.OpenRead("HandBrakeCLI.exe")) + using (Stream stream = File.OpenRead(Path.Combine(Application.StartupPath, "HandBrakeCLI.exe"))) { hash = SHA1.Create().ComputeHash(stream); }