1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Remove some includes in main.cpp too

This commit is contained in:
Joshua Goins 2022-09-05 17:30:15 -04:00
parent 3146fd80b4
commit d1b4dd37aa

View file

@ -1,11 +1,8 @@
#include "launchercore.h" #include "launchercore.h"
#include "launcherwindow.h"
#include <QApplication> #include <QApplication>
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QDir> #include <QDir>
#include <keychain.h>
#include <physis.hpp>
#include "../launcher/tablet/include/tabletinterface.h" #include "../launcher/tablet/include/tabletinterface.h"
#include "cmdinterface.h" #include "cmdinterface.h"
@ -61,6 +58,17 @@ int main(int argc, char* argv[]) {
parser.showHelp(); 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; LauncherCore c;
std::unique_ptr<DesktopInterface> desktopInterface; std::unique_ptr<DesktopInterface> desktopInterface;
std::unique_ptr<TabletInterface> tabletInterface; std::unique_ptr<TabletInterface> tabletInterface;