run method
Implementation
Future<void> run() async {
if (config.enable == false) {
// 设置为 false,则不执行
return;
}
if (!ImageUtil.is1024(appIconPath)) {
print("size is not 1024");
return;
}
await ImageUtil.remove_alpha_if_needed(appIconPath);
// app icon
await generate_icons();
}