Fix creation files.json in 'Download ALL'

This commit is contained in:
DanielSvoboda 2024-08-29 17:26:06 -03:00
parent 07c8c28000
commit 751f6f9bab
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ public:
void downloadCheats(const QString& source, const QString& m_gameSerial, void downloadCheats(const QString& source, const QString& m_gameSerial,
const QString& m_gameVersion, bool showMessageBox); const QString& m_gameVersion, bool showMessageBox);
void downloadPatches(const QString repository, const bool showMessageBox); void downloadPatches(const QString repository, const bool showMessageBox);
void createFilesJson(const QString& repository);
signals: signals:
void downloadFinished(); void downloadFinished();
@ -58,7 +59,6 @@ private:
void applyCheat(const QString& modName, bool enabled); void applyCheat(const QString& modName, bool enabled);
void applyPatch(const QString& patchName, bool enabled); void applyPatch(const QString& patchName, bool enabled);
void createFilesJson(const QString& repository);
void uncheckAllCheatCheckBoxes(); void uncheckAllCheatCheckBoxes();
void updateNoteTextEdit(const QString& patchName); void updateNoteTextEdit(const QString& patchName);

View File

@ -391,6 +391,8 @@ void MainWindow::CreateConnects() {
nullptr, tr("Download Complete"), nullptr, tr("Download Complete"),
QString(tr("Patches Downloaded Successfully!") + "\n" + QString(tr("Patches Downloaded Successfully!") + "\n" +
tr("All Patches available for all games have been downloaded."))); tr("All Patches available for all games have been downloaded.")));
cheatsPatches->createFilesJson("GoldHEN");
cheatsPatches->createFilesJson("shadPS4");
panelDialog->accept(); panelDialog->accept();
}); });
panelDialog->exec(); panelDialog->exec();