Allow filtering devices to only those supported by current project (#31446)
This commit is contained in:
@@ -108,6 +108,11 @@ class LinuxDevice extends Device {
|
||||
@override
|
||||
Future<bool> uninstallApp(ApplicationPackage app) async => true;
|
||||
|
||||
@override
|
||||
bool isSupportedForProject(FlutterProject flutterProject) {
|
||||
return flutterProject.linux.existsSync();
|
||||
}
|
||||
|
||||
// Track the last built mode from startApp.
|
||||
BuildMode _lastBuiltMode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user