1
0

refactor: modernize code, improve performance, and clean up various components.

This commit is contained in:
2026-03-01 21:05:35 +01:00
parent 15f9647f8a
commit a6c7df0a71
37 changed files with 240 additions and 627 deletions

View File

@@ -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