coder / coder/coder-desktop-windows

Add a way to uninstall the wintun driver from the system

Offen
#16 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
26
Forks
12
Ø Merge
6 Std. 50 Min.
Gemergte PRs (30 T.)
1

Beschreibung

~~The installer should come with `wintun.dll` to be dropped in the same directory we will be downloading the VPN binary to. It should also install the driver during installation, and uninstall it during uninstallation. This could either be by delegating the install/uninstall to the Go code, or importing the DLL in the installer and calling the correct method.~~

~~We will most likely need to check-in `wintun.dll` to this repo.~~

We ship `wintun.dll` and it gets automatically loaded by the Go code, but we should add some method of uninstalling the system driver from the system on user request. Tailscale does this by having a signal you can send to the system service to have it uninstall the driver.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, den Go-Code zu lesen, der wintun.dll automatisch lädt, sowie den Einstiegspunkt des Systemdienstes, der für die Treiberverwaltung zuständig ist. Vergleiche das angeforderte, vom Benutzer ausgelöste Deinstallationsverhalten mit Tailscales signalbasiertem Ansatz; abgeschlossen ist die Aufgabe, wenn eine Benutzeranforderung den Dienst signalisieren und den Systemtreiber sicher entfernen kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, go
Bereich
desktop, networking, operating-systems
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.