mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
Auto Update (#1006)
* Updater * clang * Adding Updater icon * Updater * TR * settings_dialog.ui * Changelog for Pre-release only * Adding Dump and Download icons * Forgot this... * fix linux and resize * powershell_unzip | changelog fix Does not use zlin-ng to unpack, now uses powershell on windows and on linux/mac uses unzip or 7z, and if it does not find it, it will ask if you want to install it before extracting. Do not show the changelog button if: The current version is a pre-release and the version to be downloaded is a release. * Clang * formatting * links fixed --------- Co-authored-by: Xphalnos <164882787+Xphalnos@users.noreply.github.com>
This commit is contained in:
parent
cec9275c85
commit
f79da986e3
42 changed files with 5890 additions and 244 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <QCompleter>
|
||||
#include <QDirIterator>
|
||||
|
||||
#include "check_update.h"
|
||||
#include "common/logging/backend.h"
|
||||
#include "common/logging/filter.h"
|
||||
#include "main_window.h"
|
||||
|
@ -122,6 +123,17 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices, QWidge
|
|||
|
||||
connect(ui->logFilterLineEdit, &QLineEdit::textChanged, this,
|
||||
[](const QString& text) { Config::setLogFilter(text.toStdString()); });
|
||||
|
||||
connect(ui->updateCheckBox, &QCheckBox::stateChanged, this,
|
||||
[](int state) { Config::setAutoUpdate(state == Qt::Checked); });
|
||||
|
||||
connect(ui->updateComboBox, &QComboBox::currentTextChanged, this,
|
||||
[](const QString& channel) { Config::setUpdateChannel(channel.toStdString()); });
|
||||
|
||||
connect(ui->checkUpdateButton, &QPushButton::clicked, this, []() {
|
||||
auto checkUpdate = new CheckUpdate(true);
|
||||
checkUpdate->exec();
|
||||
});
|
||||
}
|
||||
|
||||
// GPU TAB
|
||||
|
@ -192,6 +204,9 @@ void SettingsDialog::LoadValuesFromConfig() {
|
|||
ui->vkValidationCheckBox->setChecked(Config::vkValidationEnabled());
|
||||
ui->vkSyncValidationCheckBox->setChecked(Config::vkValidationSyncEnabled());
|
||||
ui->rdocCheckBox->setChecked(Config::isRdocEnabled());
|
||||
|
||||
ui->updateCheckBox->setChecked(Config::autoUpdate());
|
||||
ui->updateComboBox->setCurrentText(QString::fromStdString(Config::getUpdateChannel()));
|
||||
}
|
||||
|
||||
void SettingsDialog::InitializeEmulatorLanguages() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue