diff --git a/constants/Paths.cs b/constants/Paths.cs index 670772a..e6db87d 100644 --- a/constants/Paths.cs +++ b/constants/Paths.cs @@ -177,6 +177,7 @@ static Paths() RuntimePlatform.LinuxPlayer => Combine(StreamingAssetsPath, "..", ".."), RuntimePlatform.OSXPlayer => Combine(StreamingAssetsPath, "..", "..", "..", "..", ".."), RuntimePlatform.Android => Combine(PersistentDataPath, ".."), + RuntimePlatform.IPhonePlayer => Combine(PersistentDataPath, ".."), _ => Combine(StreamingAssetsPath, "..", "..") }; diff --git a/resources/assemblies/MonoMod.RuntimeDetour.dll b/resources/assemblies/MonoMod.RuntimeDetour.dll index 5709bbb..f55554b 100644 Binary files a/resources/assemblies/MonoMod.RuntimeDetour.dll and b/resources/assemblies/MonoMod.RuntimeDetour.dll differ diff --git a/resources/assemblies/MonoMod.Utils.dll b/resources/assemblies/MonoMod.Utils.dll index 1d9fb35..90e76e4 100644 Binary files a/resources/assemblies/MonoMod.Utils.dll and b/resources/assemblies/MonoMod.Utils.dll differ diff --git a/resources/commit b/resources/commit index 97bf922..83ef0fe 100644 --- a/resources/commit +++ b/resources/commit @@ -1 +1 @@ -7638405b0ef105101a13d0bab0c91633fb3bc10f +17c7aa59e67d7b8eecf451070fe3efc09a0a0532 diff --git a/resources/locales/en.json b/resources/locales/en.json index 541f91a..1778606 100644 --- a/resources/locales/en.json +++ b/resources/locales/en.json @@ -135,6 +135,7 @@ "mod_hub_refresh": "Reload the list from Steam", "mod_hub_security_notice": "Workshop mods are programs made by other players. They run with your permissions, and NeoModLoader does not review or sandbox them.\n\nDownloading subscribes your Steam account to the mod. New downloads are saved as disabled: enable them in Manage Mods when you trust them.", "mod_hub_steam_unavailable": "Steam is not available. Start Steam, then restart the game to browse the Workshop.", + "mod_hub_steam_unavailable_mobile": "Steam is not available on mobile.", "mod_hub_steam_offline": "Steam is offline. Download Mods needs a connection to Steam.", "mod_hub_query_failed": "The Steam Workshop did not answer. Try again in a moment.", "mod_hub_loading": "Loading mods... {0} of {1}", diff --git a/ui/ModBrowserPage.cs b/ui/ModBrowserPage.cs index 00c312f..13e85f1 100644 --- a/ui/ModBrowserPage.cs +++ b/ui/ModBrowserPage.cs @@ -145,7 +145,7 @@ private void UpdateMessage() CatalogStatus status = ModDownloadService.Catalog.Status; string key = status switch { - CatalogStatus.SteamUnavailable => "mod_hub_steam_unavailable", + CatalogStatus.SteamUnavailable => Others.IsMobile ? "mod_hub_steam_unavailable_mobile" : "mod_hub_steam_unavailable", CatalogStatus.Offline => "mod_hub_steam_offline", CatalogStatus.Failed => "mod_hub_query_failed", _ when shown_count == 0 && status != CatalogStatus.Loading => "mod_hub_no_match",