From 49150e022c8e9bf3298a318ad4ab3a623fa1b194 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 22 Mar 2024 21:22:13 -0400 Subject: [PATCH] Add even more about data This adds more libraries that are used in Astra, a better warning about possible violations, and donation/repo links. (cherry picked from commit 47f52e57104b8c4505b7afc309801b3692116448) --- launcher/src/main.cpp | 16 +++++++++++++++- launcher/ui/Settings/AboutPage.qml | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp index c8287b1..079e085 100755 --- a/launcher/src/main.cpp +++ b/launcher/src/main.cpp @@ -50,7 +50,11 @@ int main(int argc, char *argv[]) QStringLiteral(ASTRA_VERSION_STRING), i18n("FFXIV Launcher"), KAboutLicense::GPL_V3, - i18n("© 2023 Joshua Goins")); + i18n("© 2021-2024 Joshua Goins")); + about.setOtherText( + i18n("This software requires that you have a legitimate and active subscription to FINAL FANTASY XIV. By using this software, you may be in violation " + "of your User Agreement.\n\nFINAL FANTASY, FINAL FANTASY XIV, FFXIV, SQUARE ENIX, and the SQUARE ENIX logo are registered trademarks or " + "trademarks of Square Enix Holdings Co., Ltd.\n")); about.addAuthor(i18n("Joshua Goins"), i18n("Maintainer"), QStringLiteral("josh@redstrate.com"), @@ -67,6 +71,16 @@ int main(int argc, char *argv[]) QString::fromLatin1(physis_get_libphysis_version()), QStringLiteral("https://git.sr.ht/~redstrate/libphysis"), KAboutLicense::GPL_V3); + about.addComponent(QStringLiteral("KDSingleApplication"), + i18n("Helper class for single-instance policy applications "), + QStringLiteral("1.1.1"), + QStringLiteral("https://github.com/KDAB/KDSingleApplication"), + KAboutLicense::MIT); + about.addComponent(QStringLiteral("libcotp"), + i18n(" C library that generates TOTP and HOTP "), + QStringLiteral("3.0.0"), + QStringLiteral("https://github.com/paolostivanin/libcotp"), + KAboutLicense::Unknown); about.setDesktopFileName(QStringLiteral("zone.xiv.astra")); about.setBugAddress(QByteArrayLiteral("https://lists.sr.ht/~redstrate/public-inbox")); about.setComponentName(QStringLiteral("astra")); diff --git a/launcher/ui/Settings/AboutPage.qml b/launcher/ui/Settings/AboutPage.qml index bdd33c2..b882d16 100644 --- a/launcher/ui/Settings/AboutPage.qml +++ b/launcher/ui/Settings/AboutPage.qml @@ -7,4 +7,6 @@ import org.kde.coreaddons FormCard.AboutPage { aboutData: AboutData + donateUrl: "https://redstrate.com/fund" + getInvolvedUrl: "https://sr.ht/~redstrate/astra" } \ No newline at end of file