Skip to content

Commit 7446832

Browse files
committed
Enable progress bar on windows
1 parent a2bf4ef commit 7446832

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tsschecker/tsschecker.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,9 @@ t_versionURL *getFirmwareUrls(const char *deviceModel, t_iosVersion *versVals, j
537537
return (t_versionURL*)rets_base;
538538
}
539539

540-
#ifdef WIN32
541-
static void fragmentzip_callback(){}
542-
#else
540+
//#ifdef WIN32
541+
//static void fragmentzip_callback(){}
542+
//#else
543543
static void printline(int percent){
544544
info("%03d [",percent);for (int i=0; i<100; i++) putchar((percent >0) ? ((--percent > 0) ? '=' : '>') : ' ');
545545
info("]");
@@ -550,7 +550,7 @@ static void fragmentzip_callback(unsigned int progress){
550550
printline((int)progress);
551551
info("\n");
552552
}
553-
#endif
553+
//#endif
554554

555555
int downloadPartialzip(const char *url, const char *file, const char *dst){
556556
log("[LFZP] downloading %s from %s\n",file,url);

0 commit comments

Comments
 (0)