Skip to content

Commit f6e1db4

Browse files
committed
fix curl output bytes limit for api request
1 parent fa3fd33 commit f6e1db4

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const std = @import("std");
22
// const zon: struct { version: []const u8 } = @import("./build.zig.zon");
33

44
const name = "zigbar";
5-
const version = std.SemanticVersion.parse("0.5.0") catch unreachable;
5+
const version = std.SemanticVersion.parse("0.6.0") catch unreachable;
66

77
const targets: []const std.Target.Query = &.{
88
.{ .cpu_arch = .aarch64, .os_tag = .macos },

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.{
22
.name = .zigbar,
3-
.version = "0.5.0",
3+
.version = "0.6.0",
44
.fingerprint = 0xa016003a8035f03b,
55
.minimum_zig_version = "0.14.0",
66
.paths = .{

src/update.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub fn download(allocator: Allocator, options: UpdateOptions) UpdateError!Versio
4949
// Rely on CURL because HTTP library is large
5050
const result = std.process.Child.run(.{
5151
.allocator = allocator,
52+
.max_output_bytes = 1024 * 1024,
5253
.argv = &.{
5354
"curl",
5455
"-L",

0 commit comments

Comments
 (0)