@@ -20,7 +20,7 @@ pub const build_triple: []const u8 = config.triple;
2020pub const build_version : Version = config .version ;
2121
2222// Should I be using path builder? (Windows is not supported)
23- const tmp_path = "/tmp/zigbar " ;
23+ const tmp_path = "/tmp/zsp " ;
2424const tar_prefix = build_name ++ "-" ++ build_triple ;
2525const tar_name = tar_prefix ++ ".tar.gz" ;
2626const tar_path = tmp_path ++ "/" ++ tar_name ;
@@ -57,7 +57,7 @@ pub fn download(allocator: Allocator, options: UpdateOptions) UpdateError!Versio
5757 "Accept: application/vnd.github+json" ,
5858 "-H" ,
5959 "X-GitHub-Api-Version: 2022-11-28" ,
60- "https://api.github.com/repos/dbushell/zigbar /releases" ,
60+ "https://api.github.com/repos/dbushell/zsp /releases" ,
6161 },
6262 }) catch return error .ApiError ;
6363 defer {
@@ -158,5 +158,5 @@ fn installBinary(allocator: Allocator, dir: fs.Dir) !void {
158158 const exe_path = try fs .selfExePathAlloc (allocator );
159159 defer allocator .free (exe_path );
160160 try fs .deleteFileAbsolute (exe_path );
161- try fs .copyFileAbsolute (tmp_path ++ "/zigbar " , exe_path , .{});
161+ try fs .copyFileAbsolute (tmp_path ++ "/zsp " , exe_path , .{});
162162}
0 commit comments