diff --git a/README.md b/README.md index 1b0036d..8bb83e0 100644 --- a/README.md +++ b/README.md @@ -37,22 +37,20 @@ Aufruf: S_New4 [Unteroption] [PARAMETER]... sudo apt install libcurl4-openssl-dev ``` -GCC-G++: -```sh - ./autogen.sh -``` - +#### g++ ```sh g++ --std=c++14 accountManager.cpp accountManager.h main.cpp pageManager.cpp pageManager.h parameterManager.cpp parameterManager.h programManager.cpp programManager.h -lcurl -lpthread -o S_New4 ``` -QT-Style: +#### QT-Style: ```sh qmake && make ``` -### Windows: +### Windows: (x86_64 Architekture) -nutze den QT-Creator und MinGW (64Bit) +#### QT-Style: ( MinGW-64Bit ) + +Nutze den QT-Creator: > In dem Unterordner curl/ befinden sich die benötigten Header- und Curl-Lib-Dateien für curl - C++ und winpthread Libs befinden sich in dem Ordner Win_64_Bit_LIBS + > C++ und Winpthread Libs befinden sich in dem Ordner x86_64-WIN_LIBS/ diff --git a/Win_64_Bit_LIBS/libgcc_s_seh-1.dll b/Win_64_Bit_LIBS/libgcc_s_seh-1.dll deleted file mode 100644 index ca22820..0000000 Binary files a/Win_64_Bit_LIBS/libgcc_s_seh-1.dll and /dev/null differ diff --git a/Win_64_Bit_LIBS/libstdc++-6.dll b/Win_64_Bit_LIBS/libstdc++-6.dll deleted file mode 100644 index 32078b3..0000000 Binary files a/Win_64_Bit_LIBS/libstdc++-6.dll and /dev/null differ diff --git a/Win_64_Bit_LIBS/libwinpthread-1.dll b/Win_64_Bit_LIBS/libwinpthread-1.dll deleted file mode 100644 index 546fe34..0000000 Binary files a/Win_64_Bit_LIBS/libwinpthread-1.dll and /dev/null differ diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 06bed86..0000000 --- a/autogen.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -g++ --std=c++14 accountManager.cpp accountManager.h main.cpp pageManager.cpp pageManager.h parameterManager.cpp parameterManager.h programManager.cpp programManager.h -lcurl -lpthread -o S_New4 - -sleep 3 diff --git a/pageManager.cpp b/pageManager.cpp index 0107298..18e025a 100644 --- a/pageManager.cpp +++ b/pageManager.cpp @@ -456,8 +456,9 @@ std::string PageManager::chooseHosterLink(std::string HosterList, std::string Ho //Für jede Sprache: while (getline(SListLang, langId).good()) { - - if ( langId == "GerDub" ) + if(langId == "") + continue; + else if ( langId == "GerDub" ) LangId=1; else if ( langId == "Eng" ) LangId=2; diff --git a/x86_64-WIN_LIBS/LIBCURL-DLL b/x86_64-WIN_LIBS/LIBCURL-DLL new file mode 100644 index 0000000..9e87f45 --- /dev/null +++ b/x86_64-WIN_LIBS/LIBCURL-DLL @@ -0,0 +1 @@ +../curl/