diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-06 06:56:50 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-06 06:56:50 +0300 |
commit | 2ccb022b5e142c38b5dc4ce625845dfd2533c1ad (patch) | |
tree | 1bcdc436baac971466596c6e37894da04696d7ee /WorkerForm.cs | |
parent | 1c9388f8e7f7f5200e8a73d0690977337ee3bcce (diff) |
Translations and fixes
Diffstat (limited to 'WorkerForm.cs')
-rw-r--r-- | WorkerForm.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WorkerForm.cs b/WorkerForm.cs index ef08c9d5..53d27546 100644 --- a/WorkerForm.cs +++ b/WorkerForm.cs @@ -446,7 +446,7 @@ namespace com.clusterrr.hakchi_gui UnpackRamfs(kernelDumpTemp);
var key = File.ReadAllBytes(Path.Combine(ramfsDirectory, "key-file"));
if (dumpPath == null)
- Directory.Delete(tempDirectory);
+ Directory.Delete(tempDirectory, true);
// I don't want to store keyfile inside my code, so I'll store MD5 of it
var keymd5 = System.Security.Cryptography.MD5.Create();
var keyhash = BitConverter.ToString(md5.ComputeHash(key)).Replace("-", "").ToLower();
@@ -456,7 +456,7 @@ namespace com.clusterrr.hakchi_gui {
var console = matchedKeys.First();
if (console != ConfigIni.ConsoleType)
- throw new Exception("Invalid console selected! Your kernel detected as " + console);
+ throw new Exception(Resources.InvalidConsoleSelected + " " + console);
}
else throw new Exception("Unknown key, unknown console");
}
|