BagFix and auto apdate
This commit is contained in:
parent
f6cfb6297c
commit
4a36ded5b7
BIN
bin/Xenith
BIN
bin/Xenith
Binary file not shown.
4
main.cpp
4
main.cpp
@ -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 @@
|
||||
0.0.3
|
||||
0.0.4
|
||||
Loading…
x
Reference in New Issue
Block a user