mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 23:05:55 +00:00
Now handles security exceptions.
This commit is contained in:
parent
cacb1625c6
commit
3072a77a61
|
@ -255,7 +255,9 @@ namespace Examples
|
||||||
}
|
}
|
||||||
catch (System.Security.SecurityException e)
|
catch (System.Security.SecurityException e)
|
||||||
{
|
{
|
||||||
|
MessageBox.Show("The Example Launcher failed to start, due to insufficient permissions. This may happen if you execute the application from a network share.", "OpenTK Example Launcher failed to start.",
|
||||||
|
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||||
|
Trace.WriteLine(e.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue