forked from markus/S_New4
v2.7.2
This commit is contained in:
parent
92fdecab39
commit
04327ba908
@ -7,7 +7,7 @@ unix: LIBS += -lcurl
|
|||||||
win32: LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl
|
win32: LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl
|
||||||
|
|
||||||
|
|
||||||
CONFIG += c++11 console
|
CONFIG += c++14 console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
@ -89,7 +89,17 @@ int manageParameter(Settings &settings, int argc, char **argv)
|
|||||||
return unterOption_url(&settings, argc, argv);
|
return unterOption_url(&settings, argc, argv);
|
||||||
|
|
||||||
} else if (strncmp(argv[1], "--version", strlen(argv[1])) == 0) {
|
} else if (strncmp(argv[1], "--version", strlen(argv[1])) == 0) {
|
||||||
std::cout << "Version: " << settings.version << std::endl;
|
std::cout << "Programinfos:" << std::endl
|
||||||
|
<< " > Program Version: " << settings.version << std::endl
|
||||||
|
<< " > Defaults Datei Version: " << settings.defaultFileVersion << std::endl
|
||||||
|
<< " > C++ Standart: ";
|
||||||
|
if(__cplusplus == 1) std::cout << "C++_Pre_C++98" << std::endl;
|
||||||
|
else if (__cplusplus == 199711) std::cout << "C++98" << std::endl;
|
||||||
|
else if (__cplusplus == 201103) std::cout << "C++11" << std::endl;
|
||||||
|
else if (__cplusplus == 201402) std::cout << "C++14" << std::endl;
|
||||||
|
else if (__cplusplus == 201703) std::cout << "C++17" << std::endl;
|
||||||
|
else std::cout << "C++_Newer_C++17" << std::endl;
|
||||||
|
std::cout << " > " << sizeof (void *) * 8 << " Bit Version" << std::endl;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
} else if (strncmp(argv[1], "search", strlen(argv[1])) == 0) {
|
} else if (strncmp(argv[1], "search", strlen(argv[1])) == 0) {
|
||||||
@ -1006,7 +1016,6 @@ int setS5ProxytoSettings(Settings &settings, std::string Optarg)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool makePathIsOk(std::string path)
|
bool makePathIsOk(std::string path)
|
||||||
{
|
{
|
||||||
if(path == "") {
|
if(path == "") {
|
||||||
|
@ -40,7 +40,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 = "2.7.1",
|
version = "2.7.2",
|
||||||
defaultFileVersion="1.3",
|
defaultFileVersion="1.3",
|
||||||
outputFilePath = "",
|
outputFilePath = "",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
|
Loading…
Reference in New Issue
Block a user