修复自动保存路径bug
This commit is contained in:
parent
ceeaac8a0e
commit
0baef138f0
@ -51,7 +51,8 @@ namespace MifareOneTool
|
|||||||
{
|
{
|
||||||
if (File.Exists(omfd) && new FileInfo(omfd).Length > 1)
|
if (File.Exists(omfd) && new FileInfo(omfd).Length > 1)
|
||||||
{
|
{
|
||||||
string filename = lastuid + "_" + DateTime.Now.ToString() + ".mfd";
|
Directory.CreateDirectory("auto_keys");
|
||||||
|
string filename = "auto_keys\\" + lastuid + "_" + DateTime.Now.ToString() + ".mfd";
|
||||||
if (File.Exists(filename))
|
if (File.Exists(filename))
|
||||||
{
|
{
|
||||||
File.Delete(filename);
|
File.Delete(filename);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user