[tools]build ipa validate launch image using template files (#116242)
* [tools]build ipa validate launch image using template files * reuse more code by sharing the same file key * fix space
This commit is contained in:
@@ -46,10 +46,13 @@ Future<void> main() async {
|
||||
throw TaskResult.failure('Must validate incorrect app icon image size.');
|
||||
}
|
||||
|
||||
// The project is still using Flutter template icon.
|
||||
// The project is still using Flutter template icon and launch image.
|
||||
if (!output.contains('Warning: App icon is set to the default placeholder icon. Replace with unique icons.')) {
|
||||
throw TaskResult.failure('Must validate template app icon.');
|
||||
}
|
||||
if (!output.contains('Warning: Launch image is set to the default placeholder. Replace with unique launch images.')) {
|
||||
throw TaskResult.failure('Must validate template launch image.');
|
||||
}
|
||||
});
|
||||
|
||||
final String archivePath = path.join(
|
||||
|
||||
Reference in New Issue
Block a user