fix up formatting of desktop_template.zig
parent
8a95212197
commit
73d5eb928c
|
|
@ -6,10 +6,11 @@ pub fn main() !void {
|
|||
defer _ = debug.deinit();
|
||||
|
||||
const alloc = debug.allocator();
|
||||
const stdin = std.io.getStdIn();
|
||||
|
||||
const stdin = std.io.getStdIn();
|
||||
const stdout = std.io.getStdOut();
|
||||
var input = stdin.reader();
|
||||
|
||||
while (try input.readUntilDelimiterOrEofAlloc(alloc, '\n', 4096)) |line| {
|
||||
defer alloc.free(line);
|
||||
|
||||
|
|
@ -23,6 +24,7 @@ pub fn main() !void {
|
|||
defer alloc.free(buf3);
|
||||
|
||||
if (cfg.flatpak and std.mem.startsWith(u8, buf3, "SystemdService=")) continue;
|
||||
|
||||
try stdout.writeAll(buf3);
|
||||
try stdout.writeAll("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue