From f2864da0c101a72d9b688c163eb43bc304c2623e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Fri, 19 Jul 2024 19:50:17 +0200 Subject: [PATCH] fix: download from download_url, not name --- src/discord_presence.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord_presence.rs b/src/discord_presence.rs index f1ef43c..7e400bf 100644 --- a/src/discord_presence.rs +++ b/src/discord_presence.rs @@ -74,7 +74,7 @@ impl DiscordPresenceExtension { ); zed::download_file( - &asset.name, + &asset.download_url, &version_dir, match platform { zed::Os::Mac | zed::Os::Linux => zed::DownloadedFileType::GzipTar,