forked from markus/S_New4
3.6.3: finish defines for SystemCheck for Updater + info to helpmenü
This commit is contained in:
parent
d338ed9465
commit
7b92a22ef0
@ -351,6 +351,8 @@ int unterOption_help(Settings &settings)
|
|||||||
<< "\t\"--help\"\tGibt dieses Helpmenue aus." << std::endl
|
<< "\t\"--help\"\tGibt dieses Helpmenue aus." << std::endl
|
||||||
<< "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl
|
<< "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl
|
||||||
<< "\t\"--update\"\tModus um das Programm zu aktualisieren." << std::endl
|
<< "\t\"--update\"\tModus um das Programm zu aktualisieren." << std::endl
|
||||||
|
<< "\t \tUpdater funktioniert nur bei: Windows/Linux -" << std::endl
|
||||||
|
<< "\t \tx86 Architekutur - 64 Bit Systemen." << std::endl
|
||||||
<< "\t\"--remove\"\tModus um Ordner mit Einstellungen/" << std::endl
|
<< "\t\"--remove\"\tModus um Ordner mit Einstellungen/" << std::endl
|
||||||
<< "\t \tZwischengespeicherte-Dateien zu löschen." << std::endl
|
<< "\t \tZwischengespeicherte-Dateien zu löschen." << std::endl
|
||||||
<< "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
<< "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
||||||
|
@ -81,7 +81,7 @@ struct Settings {
|
|||||||
proxy_ip = "127.0.0.1",
|
proxy_ip = "127.0.0.1",
|
||||||
languages = "GerDub,GerSub,Eng,",
|
languages = "GerDub,GerSub,Eng,",
|
||||||
genaueHoster = "",
|
genaueHoster = "",
|
||||||
version = "3.6.1",
|
version = "3.6.3",
|
||||||
defaultFileVersion="1.6",
|
defaultFileVersion="1.6",
|
||||||
outputFilePath = "",
|
outputFilePath = "",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
|
@ -1014,6 +1014,11 @@ int ProgramManager::newsModus(Settings *settings)
|
|||||||
|
|
||||||
int ProgramManager::updateModus(Settings *settings)
|
int ProgramManager::updateModus(Settings *settings)
|
||||||
{
|
{
|
||||||
|
if(settings->VersionFileUrl == "" || settings->ProgrammFileUrl == "") {
|
||||||
|
std::cout << " => Error: Kein Download Link verfügbar!" << std::endl;
|
||||||
|
return 4;
|
||||||
|
}
|
||||||
|
|
||||||
std::cout << " => INFO: Suche nach der neusten Version..." << std::endl;
|
std::cout << " => INFO: Suche nach der neusten Version..." << std::endl;
|
||||||
std::string html = pageManager.getServerRequest(settings->VersionFileUrl).html;
|
std::string html = pageManager.getServerRequest(settings->VersionFileUrl).html;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user