Exemplo n.º 1
0
 @Override
 protected boolean doDownloadAndPrepare() {
   if (hasPatch()) {
     switch (UpdateChecker.downloadAndInstallPatch(myLatestBuild)) {
       case CANCELED:
         return false;
       case FAILED:
         openDownloadPage();
         return false;
       case SUCCESS:
         super.doDownloadAndPrepare();
         return true;
     }
   }
   return super.doDownloadAndPrepare();
 }
 protected Set<String> getSkippedPlugins() {
   return UpdateChecker.getDisabledToUpdatePlugins();
 }