You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes * linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times * windows/linuxbsd: get_video_adapter_driver_info() writes info into static * linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable * windows/uwp/android: remove unnecessary use of static
This commit is contained in:
@@ -450,8 +450,7 @@ String OS_UWP::get_distribution_name() const {
|
||||
|
||||
String OS_UWP::get_version() const {
|
||||
winrt::hstring df_version = VersionInfo().DeviceFamilyVersion();
|
||||
static String version = String(winrt::to_string(df_version).c_str());
|
||||
return version;
|
||||
return String(winrt::to_string(df_version).c_str());
|
||||
}
|
||||
|
||||
OS::DateTime OS_UWP::get_datetime(bool p_utc) const {
|
||||
|
||||
Reference in New Issue
Block a user