Run .url file
I am trying to open an app using a
Anyone knows a workaround?
Code:
.url.url shortcut. I tried using the same method as for .lnk.lnk shorcuts but it's not valid.Anyone knows a workaround?
Code:
Process proc = new Process();
Trace.WriteLine(MainDataModel.Default.FilePaths.ExecutableDirectory + "\\Minecraft Preview_Editor.url");
proc.StartInfo.FileName = MainDataModel.Default.FilePaths.ExecutableDirectory + "\\Minecraft Preview_Editor.url";
proc.Start();Process proc = new Process();
Trace.WriteLine(MainDataModel.Default.FilePaths.ExecutableDirectory + "\\Minecraft Preview_Editor.url");
proc.StartInfo.FileName = MainDataModel.Default.FilePaths.ExecutableDirectory + "\\Minecraft Preview_Editor.url";
proc.Start();BedrockLauncher.Exceptions.AppLaunchFailedException: An error occurred trying to start process 'C:\Users\<>\Documents\GitHub\BedrockLauncher\BedrockLauncher\bin\Debug\net6.0-windows10.0.17763.0\Minecraft Preview_Editor.url' with working directory 'C:\Users\<>\Documents\GitHub\BedrockLauncher\BedrockLauncher\bin\Debug\net6.0-windows10.0.17763.0'. The specified executable is not a valid application for this OS platform.BedrockLauncher.Exceptions.AppLaunchFailedException: An error occurred trying to start process 'C:\Users\<>\Documents\GitHub\BedrockLauncher\BedrockLauncher\bin\Debug\net6.0-windows10.0.17763.0\Minecraft Preview_Editor.url' with working directory 'C:\Users\<>\Documents\GitHub\BedrockLauncher\BedrockLauncher\bin\Debug\net6.0-windows10.0.17763.0'. The specified executable is not a valid application for this OS platform.

