mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
fix: supported_platforms only one
This commit is contained in:
@@ -631,9 +631,11 @@ impl Application for Pumpbin {
|
||||
let mut platforms = Vec::default();
|
||||
if plugin.platforms().windows().is_some() {
|
||||
platforms.push(Platform::Windows);
|
||||
} else if plugin.platforms().linux().is_some() {
|
||||
}
|
||||
if plugin.platforms().linux().is_some() {
|
||||
platforms.push(Platform::Linux);
|
||||
} else if plugin.platforms().darwin().is_some() {
|
||||
}
|
||||
if plugin.platforms().darwin().is_some() {
|
||||
platforms.push(Platform::Darwin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user