Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 35d156a

Browse files
committed
UWP: Bump version to 2.0.8.4
1 parent e2e1f27 commit 35d156a

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

pcsx2-winrt/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Identity
44
Name="XBSX2"
55
Publisher="CN=Stern"
6-
Version="2.0.8.3" />
6+
Version="2.0.8.4" />
77
<mp:PhoneIdentity PhoneProductId="595c25f0-b370-4d7a-9b14-3027fbd69ecf" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
88
<Properties>
99
<DisplayName>pcsx2-winrt</DisplayName>

pcsx2/Host.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
#include <cstdarg>
2121
#include <shared_mutex>
2222

23+
#ifdef WINRT_XBOX
24+
#include <winrt/Windows.ApplicationModel.h>
25+
#endif
26+
2327
namespace Host
2428
{
2529
static std::pair<const char*, u32> LookupTranslationString(
@@ -168,7 +172,20 @@ bool Host::ConfirmFormattedMessage(const std::string_view title, const char* for
168172

169173
std::string Host::GetHTTPUserAgent()
170174
{
175+
#ifdef WINRT_XBOX
176+
// Use a static variable to avoid re-parsing the AppxManifest on every call
177+
static const std::string version = []() {
178+
// Read full Package version from AppxManifest
179+
auto pkg = winrt::Windows::ApplicationModel::Package::Current();
180+
auto ver = pkg.Id().Version();
181+
return std::to_string(ver.Major) + "." + std::to_string(ver.Minor) + "." +
182+
std::to_string(ver.Build) + "." + std::to_string(ver.Revision);
183+
}();
184+
return fmt::format("XBSX2 {} ({})", version, GetConsoleModelString());
185+
#else
186+
// Fallback for desktop: use SCM description
171187
return fmt::format("XBSX2 {} ({})", BuildVersion::GitRev, GetConsoleModelString());
188+
#endif
172189
}
173190

174191
std::unique_lock<std::mutex> Host::GetSettingsLock()

pcsx2/ImGui/FullscreenUI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ void FullscreenUI::DrawLandingWindow()
13651365
{
13661366
ImVec2 menu_pos, menu_size;
13671367
DrawLandingTemplate(&menu_pos, &menu_size);
1368-
const char version_txt[] = "v2.0.8.3";
1368+
const char version_txt[] = "v2.0.8.4";
13691369
ImGui::PushStyleColor(ImGuiCol_Text, UIBackgroundTextColor);
13701370

13711371
if (BeginHorizontalMenu("landing_window", menu_pos, menu_size, 4))

pcsx2/ImGui/FullscreenUI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ namespace Host
6767
} // namespace Host
6868

6969
// Change this to change the version in the about screen.
70-
#define APP_VERSION "2.0.8.3"
70+
#define APP_VERSION "2.0.8.4"

0 commit comments

Comments
 (0)