diff --git a/RevokeMsgPatcher/Utils/FileUtil.cs b/RevokeMsgPatcher/Utils/FileUtil.cs index 8e0d04b..bce07dc 100644 --- a/RevokeMsgPatcher/Utils/FileUtil.cs +++ b/RevokeMsgPatcher/Utils/FileUtil.cs @@ -35,6 +35,7 @@ namespace RevokeMsgPatcher.Utils /// public static string ComputeFileSHA1(string s) { + File.SetAttributes(s, FileAttributes.Normal); FileStream file = new FileStream(s, FileMode.Open); SHA1 sha1 = new SHA1CryptoServiceProvider(); byte[] retval = sha1.ComputeHash(file);