refactor: modernize code, improve performance, and clean up various components.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
using Toak.Core.Interfaces;
|
||||
|
||||
namespace Toak.IO;
|
||||
@@ -16,7 +15,7 @@ public class Notifications : INotifications
|
||||
{
|
||||
var pInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = Toak.Core.Constants.Commands.Notify,
|
||||
FileName = Core.Constants.Commands.Notify,
|
||||
Arguments = $"-a \"Toak\" \"{summary}\" \"{body}\"",
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true
|
||||
@@ -66,7 +65,7 @@ public class Notifications : INotifications
|
||||
|
||||
var pInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = Toak.Core.Constants.Commands.PlaySound,
|
||||
FileName = Core.Constants.Commands.PlaySound,
|
||||
Arguments = $"\"{absolutePath}\"",
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true
|
||||
|
||||
Reference in New Issue
Block a user