mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-15 07:14: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();
|
let mut platforms = Vec::default();
|
||||||
if plugin.platforms().windows().is_some() {
|
if plugin.platforms().windows().is_some() {
|
||||||
platforms.push(Platform::Windows);
|
platforms.push(Platform::Windows);
|
||||||
} else if plugin.platforms().linux().is_some() {
|
}
|
||||||
|
if plugin.platforms().linux().is_some() {
|
||||||
platforms.push(Platform::Linux);
|
platforms.push(Platform::Linux);
|
||||||
} else if plugin.platforms().darwin().is_some() {
|
}
|
||||||
|
if plugin.platforms().darwin().is_some() {
|
||||||
platforms.push(Platform::Darwin);
|
platforms.push(Platform::Darwin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user