diff --git a/src/client.zig b/src/client.zig index 2d52b2e..6e7c230 100644 --- a/src/client.zig +++ b/src/client.zig @@ -8,7 +8,7 @@ fn dumpDebug(name: []const u8, list: std.ArrayList(u8)) !void { const file = try std.fs.cwd().createFile( name, - .{ .read = !true }, + .{ .truncate = false }, ); defer file.close(); @@ -50,6 +50,8 @@ pub const Client = struct { try map.put("ClientVersion", .{ .string = "0.1 (quasselclient)" }); try map.put("ClientDate", .{ .string = "0" }); + + try list.writer().writeAll("owo"); try write.add_qvariantmap(list.writer(), map); try dumpDebug("ClientInit.bin", list);