mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Remove some includes in main.cpp too
This commit is contained in:
parent
3146fd80b4
commit
d1b4dd37aa
1 changed files with 11 additions and 3 deletions
|
@ -1,11 +1,8 @@
|
|||
#include "launchercore.h"
|
||||
#include "launcherwindow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QDir>
|
||||
#include <keychain.h>
|
||||
#include <physis.hpp>
|
||||
|
||||
#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> desktopInterface;
|
||||
std::unique_ptr<TabletInterface> tabletInterface;
|
||||
|
|
Loading…
Add table
Reference in a new issue