Initiliazation
This commit is contained in:
14
full/Angel-payload/angel/utils/init.d
Normal file
14
full/Angel-payload/angel/utils/init.d
Normal file
@@ -0,0 +1,14 @@
|
||||
module angel.utils.init;
|
||||
|
||||
// Internal imports
|
||||
import angel.utils.constants;
|
||||
import angel.utils.logging;
|
||||
// External imports
|
||||
import std.stdio;
|
||||
import std.file;
|
||||
|
||||
void init() {
|
||||
if (!exists(Constants.workdir)) {
|
||||
mkdir(Constants.workdir);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user