mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-19 15:51:52 +00:00
better starlight check
This commit is contained in:
1 parent
d267b93139
commit
8e939187a3
1 file changed
+3
-2
+3
-2
@@ -1,4 +1,5 @@
|
||||
using BetterAmongUs.Enums;
|
||||
using BetterAmongUs.Data;
|
||||
using BetterAmongUs.Enums;
|
||||
using System.Reflection;
|
||||
|
||||
namespace BetterAmongUs;
|
||||
@@ -76,7 +77,7 @@ internal static class ModInfo
|
||||
/// <summary>
|
||||
/// Indicator rather that BAU is running on Starlight.
|
||||
/// </summary>
|
||||
internal static readonly bool Starlight = OperatingSystem.IsAndroid();
|
||||
internal static readonly bool Starlight = OperatingSystem.IsAndroid() && !string.IsNullOrEmpty(BetterDataManager.Folders.starLightDataFolderPath);
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves metadata from the assembly attributes.
|
||||
|
||||
Reference in new issue
Block a user