[PR #2219] [MERGED] Detect and log if the user is using a fork #2571

Closed
opened 2026-02-27 22:00:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2219
Author: @kalaposfos13
Created: 1/23/2025
Status: Merged
Merged: 1/30/2025
Merged by: @georgemoralis

Base: mainHead: fork-detection


📝 Commits (6)

  • 9e07a63 Added fork detection
  • 54b1910 Merge remote-tracking branch 'origin/main' into fork-detection
  • 1ab011b Merge remote-tracking branch 'origin/main' into fork-detection
  • 12caa3c Fallback to "origin" if branch is not found
  • 678d837 Add fork names to window titles
  • ef0f979 clang

📊 Changes

5 files changed (+53 additions, -8 deletions)

View changed files

📝 CMakeLists.txt (+24 -0)
📝 src/common/scm_rev.cpp.in (+8 -4)
📝 src/common/scm_rev.h (+2 -0)
📝 src/emulator.cpp (+10 -2)
📝 src/qt_gui/main_window.cpp (+9 -2)

📄 Description

Currently the only thing added is a line in the log indicating what fork someone is using (or if it's main), but it can be expanded to add more features.
This will make handling complaints from people not using official builds easier, although most people currently use either @diegolix29's builds or main, and the former is easily detected even without this PR.
Tested on local builds across different remotes (with this PR merged on them), and one Github actions from my fork.


🔄 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/2219 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 1/23/2025 **Status:** ✅ Merged **Merged:** 1/30/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `fork-detection` --- ### 📝 Commits (6) - [`9e07a63`](https://github.com/shadps4-emu/shadPS4/commit/9e07a63042a015300df19c9c59f59c2906151f4b) Added fork detection - [`54b1910`](https://github.com/shadps4-emu/shadPS4/commit/54b191054f18e9f4a1c9639e0f16d6540dbbdfb7) Merge remote-tracking branch 'origin/main' into fork-detection - [`1ab011b`](https://github.com/shadps4-emu/shadPS4/commit/1ab011b8331871ce2f9e680f7fed7bf3828ce23b) Merge remote-tracking branch 'origin/main' into fork-detection - [`12caa3c`](https://github.com/shadps4-emu/shadPS4/commit/12caa3cc0454e77c5837df9410cf04db5a03988e) Fallback to "origin" if branch is not found - [`678d837`](https://github.com/shadps4-emu/shadPS4/commit/678d83742feddde52c2dad67d3a3a704b732f4c9) Add fork names to window titles - [`ef0f979`](https://github.com/shadps4-emu/shadPS4/commit/ef0f979c96b4a7fb3ba5ef76151dffec43c9bbec) clang ### 📊 Changes **5 files changed** (+53 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+24 -0) 📝 `src/common/scm_rev.cpp.in` (+8 -4) 📝 `src/common/scm_rev.h` (+2 -0) 📝 `src/emulator.cpp` (+10 -2) 📝 `src/qt_gui/main_window.cpp` (+9 -2) </details> ### 📄 Description Currently the only thing added is a line in the log indicating what fork someone is using (or if it's main), but it can be expanded to add more features. This will make handling complaints from people not using official builds easier, although most people currently use either @diegolix29's builds or main, and the former is easily detected even without this PR. Tested on local builds across different remotes (with this PR merged on them), and one Github actions from my fork. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:26 +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#2571
No description provided.