1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 21:37:46 +00:00
astra/src/main.cpp
redstrate 1730b3c430 Properly set org/app names for config files
* Adds separate debug/release config files (doesn't happen for passwords)
2021-11-01 14:52:34 -04:00

20 lines
449 B
C++
Executable file

#include "xivlauncher.h"
#include <QApplication>
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
QCoreApplication::setOrganizationName("redstrate");
QCoreApplication::setOrganizationDomain("com.redstrate");
#ifdef NDEBUG
QCoreApplication::setApplicationName("xivlauncher");
#else
QCoreApplication::setApplicationName("xivlauncher-debug");
#endif
LauncherWindow w;
w.show();
return app.exec();
}