We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c482f commit 3f12bbaCopy full SHA for 3f12bba
editors/zed/src/slint.rs
@@ -90,8 +90,10 @@ impl SlintExtension {
90
String::new()
91
}
92
);
93
- // The directory in the tarball is usually named "slint-lsp", but it is different for the slint-lsp-*-linux-*
94
- let subdir = if target_name == "slint-lsp-aarch64-unknown-linux-gnu" {
+ let subdir = if asset_file_type == DownloadedFileType::Zip {
+ ""
95
+ } else if target_name == "slint-lsp-aarch64-unknown-linux-gnu" {
96
+ // The directory in the tarball is usually named "slint-lsp", but it is different for the slint-lsp-*-linux-*
97
target_name
98
} else {
99
"slint-lsp"
0 commit comments