Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Commit 131dd0b

Browse files
committed
fix: remove unused zipball_url field and use direct GitHub archive URL for downloads in gmod13_open
1 parent 0dc8926 commit 131dd0b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/real/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use chrono::Local;
77

88
#[derive(Deserialize, Debug)]
99
struct Release {
10-
zipball_url: String,
1110
tag_name: String,
1211
assets: Vec<Asset>,
1312
}
@@ -201,7 +200,7 @@ fn gmod13_open(_lua: State) -> i32 {
201200
// Construct the direct GitHub archive URL instead of using the API's zipball_url
202201
let download_url = format!("https://github.com/gmod-integration/gmod-integration/archive/refs/tags/{}.zip", release.tag_name);
203202
print_log(&format!("Using direct download URL: {}", download_url));
204-
203+
205204
let response = match client
206205
.get(&download_url)
207206
.header("User-Agent", "Gmod-Integration-Updater")

0 commit comments

Comments
 (0)