Added SuppressUnmanagedCodeSecurity to StartupMethods class

This commit is contained in:
Travis Nickles 2020-01-08 21:17:20 -06:00
parent 0b10788583
commit acf028f196

View File

@ -9,6 +9,7 @@ using Task = Microsoft.Win32.TaskScheduler.Task;
namespace DS4WinWPF namespace DS4WinWPF
{ {
[System.Security.SuppressUnmanagedCodeSecurity]
public static class StartupMethods public static class StartupMethods
{ {
public static string lnkpath = Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\\DS4Windows.lnk"; public static string lnkpath = Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\\DS4Windows.lnk";