mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
GCS- Detect fw bundle presence in a not so ugly way
This commit is contained in:
parent
fb27c5d93c
commit
47f94143b7
@ -434,7 +434,7 @@ void UploaderGadgetWidget::commonSystemBoot(bool safeboot)
|
||||
}
|
||||
bool UploaderGadgetWidget::autoUpdateCapable()
|
||||
{
|
||||
return QFile::exists(":/build/fw_coptercontrol/fw_coptercontrol.opfw");
|
||||
return QDir(":/build").exists();
|
||||
}
|
||||
|
||||
bool UploaderGadgetWidget::autoUpdate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user