1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00
astra/src/main.cpp

32 lines
720 B
C++
Raw Normal View History

#include "launchercore.h"
#include "launcherwindow.h"
2021-11-01 09:54:58 -04:00
#include <QApplication>
#include <QCommandLineParser>
2021-11-01 09:54:58 -04:00
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
QCoreApplication::setOrganizationName("redstrate");
QCoreApplication::setOrganizationDomain("redstrate.com");
#ifdef NDEBUG
QCoreApplication::setApplicationName("xivlauncher");
#else
QCoreApplication::setApplicationName("xivlauncher-debug");
#endif
LauncherCore c;
QCommandLineParser parser;
parser.setApplicationDescription("Cross-platform FFXIV Launcher");
parser.addHelpOption();
parser.addVersionOption();
parser.process(app);
LauncherWindow w(c);
2021-11-01 09:54:58 -04:00
w.show();
return app.exec();
}