mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-05 17:37:46 +00:00
23 lines
No EOL
639 B
C++
23 lines
No EOL
639 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#include <QApplication>
|
|
#include <physis.hpp>
|
|
|
|
#include "aboutdata.h"
|
|
#include "mainwindow.h"
|
|
#include "settings.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication app(argc, argv);
|
|
|
|
customizeAboutData(QStringLiteral("karuku"), QStringLiteral("Karuku"), QStringLiteral("Program to view FFXIV Excel files."));
|
|
|
|
const QString gameDir{getGameDirectory()};
|
|
const std::string gameDirStd{gameDir.toStdString()};
|
|
MainWindow w(physis_gamedata_initialize(gameDirStd.c_str()));
|
|
w.show();
|
|
|
|
return app.exec();
|
|
} |