From e5335de2cf6db9c543c9917790800937707915b2 Mon Sep 17 00:00:00 2001 From: 200Tigersbloxed <45884377+200Tigersbloxed@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:34:38 -0400 Subject: [PATCH] package name --- Hypernex.Launcher/Installer.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Hypernex.Launcher/Installer.cs b/Hypernex.Launcher/Installer.cs index e654770..0254776 100644 --- a/Hypernex.Launcher/Installer.cs +++ b/Hypernex.Launcher/Installer.cs @@ -21,6 +21,10 @@ private static (string, bool, string[]?)[] UnityDirectories = { "StreamingAssets" }), + ("Hypernex.Unity_Data", false, new[] + { + "StreamingAssets" + }), ("MonoBleedingEdge", true, null), ("D3D12", true, null) }; @@ -28,11 +32,13 @@ private static (string, bool, string[]?)[] UnityDirectories = private static string[] UnityFiles = { "Hypernex.exe", + "Hypernex.Unity.exe", "UnityCrashHandler64.exe", "UnityPlayer.dll", "xr.bat", // Linux "Hypernex.x86_64", + "Hypernex.Unity.x86_64", "UnityPlayer.so" }; @@ -300,7 +306,8 @@ private static string FindExecutable(string installLocation) { foreach (string file in Directory.GetFiles(installLocation)) { - if (Path.GetFileNameWithoutExtension(file).ToLower() == "hypernex") + string fileName = Path.GetFileNameWithoutExtension(file).ToLower(); + if (fileName is "hypernex" or "hypernex.unity") return file; } throw new Exception("No executable!");