我再修……
This commit is contained in:
parent
0baef138f0
commit
543c45b2b8
@ -52,7 +52,7 @@ namespace MifareOneTool
|
|||||||
if (File.Exists(omfd) && new FileInfo(omfd).Length > 1)
|
if (File.Exists(omfd) && new FileInfo(omfd).Length > 1)
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory("auto_keys");
|
Directory.CreateDirectory("auto_keys");
|
||||||
string filename = "auto_keys\\" + lastuid + "_" + DateTime.Now.ToString() + ".mfd";
|
string filename = "auto_keys\\" + lastuid + "_" + DateTime.Now.ToString().Replace("/","-").Replace(" ","_").Replace(":","-") + ".mfd";
|
||||||
if (File.Exists(filename))
|
if (File.Exists(filename))
|
||||||
{
|
{
|
||||||
File.Delete(filename);
|
File.Delete(filename);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user