TemporaryDirectory will deleted at the end of process, Path of NSIS is besite of base directory.
This commit is contained in:
@@ -19,7 +19,7 @@ namespace KattekerCreator.Helper
|
||||
return false;
|
||||
}
|
||||
|
||||
public static string CreateTempDirectory()
|
||||
public static TemporaryDirectory CreateTempDirectory()
|
||||
{
|
||||
string result;
|
||||
do
|
||||
@@ -29,7 +29,7 @@ namespace KattekerCreator.Helper
|
||||
} while (Directory.Exists(result));
|
||||
|
||||
Directory.CreateDirectory(result);
|
||||
return result;
|
||||
return new TemporaryDirectory(result);
|
||||
}
|
||||
|
||||
public static bool IsFilesizeWrong(string filename)
|
||||
|
||||
Reference in New Issue
Block a user