diff --git a/Uploader.cs b/Uploader.cs index 3c9f81b..aa586f1 100644 --- a/Uploader.cs +++ b/Uploader.cs @@ -6,6 +6,7 @@ using System.Linq; using HarmonyLib; using Photon.Pun; using Steamworks; +using UnityEngine; using UnityEngine.UIElements; using UnityEngine.UIElements.Collections; using WebSocketSharp; @@ -82,7 +83,8 @@ class SpookedUploader { ws.Close(); // Plugin.ModalProxy("Upload Complete", $"Video uploaded to {viewableUrl}! ({uuid})"); - System.Diagnostics.Process.Start($"{viewableUrl}/#{uuid}"); + // System.Diagnostics.Process.Start($"{viewableUrl}/#{uuid}"); + Application.OpenURL($"{viewableUrl}/#{uuid}"); onUpload(); }