1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Properly set org/app names for config files

* Adds separate debug/release config files (doesn't happen for passwords)
This commit is contained in:
redstrate 2021-11-01 14:52:34 -04:00
parent fca3a441bf
commit 1730b3c430

View file

@ -3,6 +3,16 @@
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();