checkZipPathDirectoryIsExist static method
检查当前项目是否已经存在
Implementation
static Future<bool> checkZipPathDirectoryIsExist(String zipUrl) async {
String zipTmpPath = base64Encode(utf8.encode(zipUrl));
final dist = await getDistDirectory();
String zipPath = '${dist.path}/$zipTmpPath';
final checkDirect = Directory(zipPath);
return checkDirect.existsSync();
}