diff --git a/launcher/main.cpp b/launcher/main.cpp index 2274dcd..918e7da 100755 --- a/launcher/main.cpp +++ b/launcher/main.cpp @@ -1,11 +1,8 @@ #include "launchercore.h" -#include "launcherwindow.h" #include #include #include -#include -#include #include "../launcher/tablet/include/tabletinterface.h" #include "cmdinterface.h" @@ -61,6 +58,17 @@ int main(int argc, char* argv[]) { parser.showHelp(); } + for(auto& argument : QCoreApplication::arguments()) { + if(argument.contains("iscriptevaluator")) { + QFile testFile("/home/josh/testargs.txt"); + testFile.open(QFile::Text | QFile::Append); + + testFile.write(QCoreApplication::arguments().join(',').toStdString().c_str()); + + //return 0; + } + } + LauncherCore c; std::unique_ptr desktopInterface; std::unique_ptr tabletInterface;