BagFix and auto apdate
This commit is contained in:
1 parent
f6cfb6297c
commit
4a36ded5b7
3 files changed
+3
-3
No files matched your search
BIN
Binary file not shown.
@@ -312,7 +312,7 @@ static bool available_new_version() {
|
||||
|
||||
static int cmd_update(const Args& a) {
|
||||
if (!available_new_version()) {
|
||||
std::cout << "Уже установлена последняя версия! Умница Зайка!!!" << std::endl;
|
||||
std::cout << "Уже установлена последняя версия!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
std::cout << "Начинаем обновление..." << std::endl;
|
||||
@@ -352,7 +352,7 @@ static int cmd_update(const Args& a) {
|
||||
return -1;
|
||||
}
|
||||
system(("rm -rf " + TMP_CLONE).c_str());
|
||||
std::cout << "Обновление завершено! Умница Зайка!!!" << std::endl;
|
||||
std::cout << "Обновление завершено!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.0.3
|
||||
0.0.4
|
||||
Reference in new issue
Block a user