[PR #1006] [MERGED] Auto Update #1878

Closed
opened 2026-02-27 21:14:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1006
Author: @DanielSvoboda
Created: 9/21/2024
Status: Merged
Merged: 9/24/2024
Merged by: @georgemoralis

Base: mainHead: Auto_Update


📝 Commits (10+)

📊 Changes

42 files changed (+5890 additions, -244 deletions)

View changed files

📝 .reuse/dep5 (+2 -2)
📝 CMakeLists.txt (+4 -1)
📝 src/common/config.cpp (+25 -1)
📝 src/common/config.h (+4 -0)
📝 src/common/scm_rev.cpp.in (+2 -0)
📝 src/common/scm_rev.h (+1 -0)
src/images/dump_icon.png (+0 -0)
src/images/update_icon.png (+0 -0)
src/qt_gui/check_update.cpp (+499 -0)
src/qt_gui/check_update.h (+40 -0)
📝 src/qt_gui/main_window.cpp (+22 -1)
📝 src/qt_gui/main_window.h (+1 -0)
📝 src/qt_gui/main_window_ui.h (+15 -6)
📝 src/qt_gui/settings_dialog.cpp (+15 -0)
📝 src/qt_gui/settings_dialog.ui (+102 -11)
📝 src/qt_gui/translations/ar.ts (+205 -25)
📝 src/qt_gui/translations/da_DK.ts (+198 -5)
📝 src/qt_gui/translations/de.ts (+198 -5)
📝 src/qt_gui/translations/el.ts (+198 -5)
📝 src/qt_gui/translations/en.ts (+195 -2)

...and 22 more files

📄 Description

Update the emulator directly from the application.

In the settings menu, you can enable the "Check for Updates at Startup" option and choose the download channel:

  • Stable: stable versions released approximately once a month (These versions are more reliable and tested)
  • Unstable: pre-releases with updates almost daily (These may contain bugs and are less stable)

*not tested on macOS

Images:

image

You can see the changelog by clicking the button. It is not available if you are using an unstable version and try to update to stable, as there will be no changelog for older versions.
image

The 'About' tab is now called 'Help' and you can also check for updates using this button.
image

Yiga also contributed the icon for the download and dump:
image

Settings: You can enable the "Check for Updates at Startup" option and choose the download channel Stable, Unstable
image

The translation files "tr_TR.ts" and "ar.ts" were also fixed.
It was inspired by the operation of rpcs3, none of its code was used, but I mention it in recognition.

Technical information- Create autoUpdate in your fork

For the pre-release to work on a fork, you need to create a token, and change some links, here is the step by step:

https://github.com/settings/tokens/new
Note: SHADPS4_TOKEN_REPO
Expiration: No expiration
Select scopes: repo
Create and copy the code (it will only appear once, so it is a good idea to put it in a notepad until you use it)
[do not send it to anyone]

the link below change 'shadPS4-emu' to your user
https://github.com/shadPS4-emu/shadPS4/settings/secrets/actions
New repository secret
name: SHADPS4_TOKEN_REPO
Secret: paste the code you copied in the previous step

and update the 3 links in check_update.cpp to your repository
change repository name in build.yml
body: "Full Changelog: ... https://github.com/shadps4-emu/shadPS4/compare ...
You may also need to change the branch name in:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

on:
  push:
    branches: [ "main" ]

Special thanks: LeDragoX | Vinicius Rangel | Yiga


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1006 **Author:** [@DanielSvoboda](https://github.com/DanielSvoboda) **Created:** 9/21/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `Auto_Update` --- ### 📝 Commits (10+) - [`875363a`](https://github.com/shadps4-emu/shadPS4/commit/875363a8daee0eaa82e5eabec24ba2a7d45a00e5) Updater - [`ab7aaf0`](https://github.com/shadps4-emu/shadPS4/commit/ab7aaf05248836e2538207b190521a67d2fa841b) clang - [`ee52149`](https://github.com/shadps4-emu/shadPS4/commit/ee521498bccb4c443fc87bd9a824723b21728ec9) Adding Updater icon - [`d3ba74b`](https://github.com/shadps4-emu/shadPS4/commit/d3ba74b3fcb4d498e65b5331f5d35f4cf42a3e80) Merge pull request #9 from Xphalnos/Auto_Update - [`b30e94e`](https://github.com/shadps4-emu/shadPS4/commit/b30e94edcc942404bee600cc1aec00067ecefc24) Updater - [`2bffd0f`](https://github.com/shadps4-emu/shadPS4/commit/2bffd0fbff0115522cb017645efa9c3b608cfc45) TR - [`02f3679`](https://github.com/shadps4-emu/shadPS4/commit/02f3679df57c7b5ca3928d5671f226fb80559883) settings_dialog.ui - [`9e6b6ba`](https://github.com/shadps4-emu/shadPS4/commit/9e6b6ba4d9a4fdb9a71e4b3ece138191f4970ac6) Changelog for Pre-release only - [`4ba2fec`](https://github.com/shadps4-emu/shadPS4/commit/4ba2fecfe80e6ad5543d6ea8f3082d264b8eaf74) Adding Dump and Download icons - [`e13cd67`](https://github.com/shadps4-emu/shadPS4/commit/e13cd679b5179126f90b968b70954be5201ba58e) Forgot this... ### 📊 Changes **42 files changed** (+5890 additions, -244 deletions) <details> <summary>View changed files</summary> 📝 `.reuse/dep5` (+2 -2) 📝 `CMakeLists.txt` (+4 -1) 📝 `src/common/config.cpp` (+25 -1) 📝 `src/common/config.h` (+4 -0) 📝 `src/common/scm_rev.cpp.in` (+2 -0) 📝 `src/common/scm_rev.h` (+1 -0) ➕ `src/images/dump_icon.png` (+0 -0) ➕ `src/images/update_icon.png` (+0 -0) ➕ `src/qt_gui/check_update.cpp` (+499 -0) ➕ `src/qt_gui/check_update.h` (+40 -0) 📝 `src/qt_gui/main_window.cpp` (+22 -1) 📝 `src/qt_gui/main_window.h` (+1 -0) 📝 `src/qt_gui/main_window_ui.h` (+15 -6) 📝 `src/qt_gui/settings_dialog.cpp` (+15 -0) 📝 `src/qt_gui/settings_dialog.ui` (+102 -11) 📝 `src/qt_gui/translations/ar.ts` (+205 -25) 📝 `src/qt_gui/translations/da_DK.ts` (+198 -5) 📝 `src/qt_gui/translations/de.ts` (+198 -5) 📝 `src/qt_gui/translations/el.ts` (+198 -5) 📝 `src/qt_gui/translations/en.ts` (+195 -2) _...and 22 more files_ </details> ### 📄 Description # Update the emulator directly from the application. In the settings menu, you can enable the "Check for Updates at Startup" option and choose the download channel: - Stable: stable versions released approximately once a month (These versions are more reliable and tested) - Unstable: pre-releases with updates almost daily (These may contain bugs and are less stable) *not tested on macOS # Images: ![image](https://github.com/user-attachments/assets/1a17b511-4977-4916-ac18-992a321797ce) You can see the changelog by clicking the button. It is not available if you are using an unstable version and try to update to stable, as there will be no changelog for older versions. ![image](https://github.com/user-attachments/assets/0c4e0996-0342-43d0-a1c5-36a111818a51) The 'About' tab is now called 'Help' and you can also check for updates using this button. ![image](https://github.com/user-attachments/assets/243dd6f7-1ca4-4abf-8308-fcab0a28190e) Yiga also contributed the icon for the download and dump: ![image](https://github.com/user-attachments/assets/c9ef77df-793c-4c44-82d3-1a8a5d78365b) Settings: You can enable the "Check for Updates at Startup" option and choose the download channel Stable, Unstable ![image](https://github.com/user-attachments/assets/700c9a70-f275-4851-abe6-6f0cc348f92f) The translation files "tr_TR.ts" and "ar.ts" were also fixed. It was inspired by the operation of rpcs3, none of its code was used, but I mention it in recognition. # Technical information- Create autoUpdate in your fork For the pre-release to work on a fork, you need to create a token, and change some links, here is the step by step: https://github.com/settings/tokens/new Note: SHADPS4_TOKEN_REPO Expiration: No expiration Select scopes: repo Create and copy the code (it will only appear once, so it is a good idea to put it in a notepad until you use it) [do not send it to anyone] the link below change 'shadPS4-emu' to your user https://github.com/shadPS4-emu/shadPS4/settings/secrets/actions New repository secret name: SHADPS4_TOKEN_REPO Secret: paste the code you copied in the previous step and update the 3 links in check_update.cpp to your repository change repository name in build.yml `body: "Full Changelog: ... https://github.com/shadps4-emu/shadPS4/compare ...` You may also need to change the branch name in: `if: github.ref == 'refs/heads/main' && github.event_name == 'push'` ``` on: push: branches: [ "main" ] ``` ---- Special thanks: LeDragoX | Vinicius Rangel | Yiga --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1878
No description provided.