rollback
This commit is contained in:
@@ -254,17 +254,17 @@ public:
|
||||
}
|
||||
|
||||
void saveProgress(long long persentDone) {
|
||||
String dump_progress = "echo '";
|
||||
dump_progress = dump_progress + to_string(persentDone).c_str() + "' > progress";
|
||||
/*String dump_progress = "echo '";
|
||||
dump_progress = dump_progress + to_string(persentDone).c_str() + "' > progress";
|
||||
|
||||
system(dump_progress.getCharArray());
|
||||
system(dump_progress.getCharArray());*/
|
||||
|
||||
/*FILE* f = fopen("progress", "w");
|
||||
FILE* f = fopen("progress", "w");
|
||||
if (f) {
|
||||
fprintf(f, "%lld", persentDone);
|
||||
fflush(f);
|
||||
fclose(f);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
bool checkPause() {
|
||||
|
||||
Reference in New Issue
Block a user