mirror of
https://github.com/bitwarden/directory-connector
synced 2026-01-09 20:13:20 +00:00
30 lines
536 B
C#
30 lines
536 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Service
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main()
|
|
{
|
|
DebugMode();
|
|
|
|
ServiceBase.Run(new ServiceBase[]
|
|
{
|
|
new Service()
|
|
});
|
|
}
|
|
|
|
[Conditional("DEBUG")]
|
|
private static void DebugMode()
|
|
{
|
|
Debugger.Launch();
|
|
}
|
|
}
|
|
}
|