OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WinGui:
[handbrake-jp/handbrake-jp-git.git]
/
win
/
C#
/
Functions
/
Main.cs
diff --git
a/win/C#/Functions/Main.cs
b/win/C#/Functions/Main.cs
index
3b1e546
..
f78d38a
100644
(file)
--- a/
win/C#/Functions/Main.cs
+++ b/
win/C#/Functions/Main.cs
@@
-295,7
+295,7
@@
namespace Handbrake.Functions
\r
// Get the SHA1 Hash of HandBrakeCLI
\r
byte[] hash;
\r
\r
// Get the SHA1 Hash of HandBrakeCLI
\r
byte[] hash;
\r
- using (Stream stream = File.OpenRead(
"HandBrakeCLI.exe"
))
\r
+ using (Stream stream = File.OpenRead(
Path.Combine(Application.StartupPath, "HandBrakeCLI.exe")
))
\r
{
\r
hash = SHA1.Create().ComputeHash(stream);
\r
}
\r
{
\r
hash = SHA1.Create().ComputeHash(stream);
\r
}
\r