// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2026 A-La-Karte Contributors #include #include #include #include "gamecenterdaemon.h" int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QCommandLineParser parser; parser.setApplicationDescription(QStringLiteral("A-La-Karte Game Center")); parser.addHelpOption(); parser.addOption(QCommandLineOption(QStringLiteral("system"), QStringLiteral("Run as system bus proxy"))); parser.process(app); if (parser.isSet(QStringLiteral("system"))) { GameCenterSystemProxy proxy; if (!proxy.init()) { return 1; } return app.exec(); } GameCenterDaemon daemon; if (!daemon.init()) { return 1; } return app.exec(); }