mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
Merge pull request #650 from DanielSvoboda/main
Fix creation files.json in 'Download All Patches'
This commit is contained in:
commit
7e7854346d
|
@ -36,6 +36,7 @@ public:
|
|||
void downloadCheats(const QString& source, const QString& m_gameSerial,
|
||||
const QString& m_gameVersion, bool showMessageBox);
|
||||
void downloadPatches(const QString repository, const bool showMessageBox);
|
||||
void createFilesJson(const QString& repository);
|
||||
|
||||
signals:
|
||||
void downloadFinished();
|
||||
|
@ -58,7 +59,6 @@ private:
|
|||
void applyCheat(const QString& modName, bool enabled);
|
||||
void applyPatch(const QString& patchName, bool enabled);
|
||||
|
||||
void createFilesJson(const QString& repository);
|
||||
void uncheckAllCheatCheckBoxes();
|
||||
void updateNoteTextEdit(const QString& patchName);
|
||||
|
||||
|
|
|
@ -391,6 +391,8 @@ void MainWindow::CreateConnects() {
|
|||
nullptr, tr("Download Complete"),
|
||||
QString(tr("Patches Downloaded Successfully!") + "\n" +
|
||||
tr("All Patches available for all games have been downloaded.")));
|
||||
cheatsPatches->createFilesJson("GoldHEN");
|
||||
cheatsPatches->createFilesJson("shadPS4");
|
||||
panelDialog->accept();
|
||||
});
|
||||
panelDialog->exec();
|
||||
|
|
Loading…
Reference in a new issue