Updates to finally secure the Twitch codes so i don't have to keep adding them for compile and removing them for Source Distribution. fixed a Bug in the notification system that ment dismiss did not work.
This commit is contained in:
@@ -22,10 +22,18 @@ namespace TwitchDesktopNotifications.Core
|
||||
|
||||
try
|
||||
{
|
||||
Process myProcess = new Process();
|
||||
myProcess.StartInfo.UseShellExecute = true;
|
||||
myProcess.StartInfo.FileName = args["streamerUrl"];
|
||||
myProcess.Start();
|
||||
if (
|
||||
// action is defined and set to watch
|
||||
( args.Contains("action") && args["action"] == "watch" )
|
||||
||
|
||||
// action is not defined so the user just generally clicked on the notification
|
||||
!args.Contains("action")
|
||||
){
|
||||
Process myProcess = new Process();
|
||||
myProcess.StartInfo.UseShellExecute = true;
|
||||
myProcess.StartInfo.FileName = args["streamerUrl"];
|
||||
myProcess.Start();
|
||||
}
|
||||
}catch(Exception ex) { }
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user