mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-25 16:07:10 +02:00
fix native file logs
This commit is contained in:
parent
5e3b8b4f89
commit
52b8a315e3
4 changed files with 20 additions and 6 deletions
|
@ -35,7 +35,20 @@ namespace Ryujinx.Common
|
|||
return BuildVersion;
|
||||
}
|
||||
|
||||
return Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
||||
if (SystemInfo.SystemInfo.IsBionic)
|
||||
{
|
||||
return "Android_1.0";
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
return Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
||||
}
|
||||
catch (Exception _)
|
||||
{
|
||||
return "Native";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#if FORCE_EXTERNAL_BASE_DIR
|
||||
|
@ -46,7 +59,7 @@ namespace Ryujinx.Common
|
|||
#else
|
||||
public static string GetBaseApplicationDirectory()
|
||||
{
|
||||
if (IsFlatHubBuild() || OperatingSystem.IsMacOS())
|
||||
if (IsFlatHubBuild() || OperatingSystem.IsMacOS() || SystemInfo.SystemInfo.IsBionic)
|
||||
{
|
||||
return AppDataManager.BaseDirPath;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue