Use Application.OpenURL instead of System.Diagnostics.Process.Start
This commit is contained in:
parent
0a9ee3c278
commit
89f4a7debe
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user