SoraV2Utils/SoraV2Utils_Agent/NotificationInstaller.cs
krjan02 26cde137c9
Some checks failed
Build and Relase / build-release (push) Failing after 38s
Build and Relase / create-release (push) Failing after 10s
Initial commit (1.0.0)
2025-01-13 16:27:29 +01:00

26 lines
640 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SoraV2BatteryHelperNotification
{
[RunInstaller(true)]
public partial class NotificationInstaller : System.Configuration.Install.Installer
{
public NotificationInstaller()
{
InitializeComponent();
}
private void NotificationInstaller_BeforeUninstall(object sender, InstallEventArgs e)
{
System.Environment.Exit(1);
}
}
}