mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 19:28:49 -04:00
Create the logs folder.
This commit is contained in:
parent
0c32d76a4a
commit
55fa0064b9
@ -218,6 +218,7 @@ pub fn main() !void {
|
||||
};
|
||||
|
||||
// init logging.
|
||||
try std.fs.cwd().makePath("logs");
|
||||
logFile = std.fs.cwd().createFile("logs/latest.log", .{}) catch unreachable;
|
||||
defer logFile.close();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user