fix: download from download_url, not name

This commit is contained in:
Jozef Steinhübl 2024-07-19 19:50:17 +02:00
parent 010abc1253
commit f2864da0c1
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -74,7 +74,7 @@ impl DiscordPresenceExtension {
); );
zed::download_file( zed::download_file(
&asset.name, &asset.download_url,
&version_dir, &version_dir,
match platform { match platform {
zed::Os::Mac | zed::Os::Linux => zed::DownloadedFileType::GzipTar, zed::Os::Mac | zed::Os::Linux => zed::DownloadedFileType::GzipTar,