diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-30 09:53:09 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-10-31 10:41:48 +0100 |
commit | abf6962144969a3821063ccb68707c17508747cc (patch) | |
tree | d3b2429428ce07b8661c1a7ef0a4ef4c521ac7e5 /api/api.vcxproj | |
parent | api: make #ifdef-s more descriptive (diff) | |
download | wintun-abf6962144969a3821063ccb68707c17508747cc.tar.xz wintun-abf6962144969a3821063ccb68707c17508747cc.zip |
api: simplify driver removal
When we install the Wintun driver to the store, we get exact oem<nn>.inf
filename of the driver in the store we just installed. Since the
installation should be only temporarily, we should uninstall only the
driver we installed.
This also eliminates the need for iterating driver store speeding up
things.
The code we removed was inherited from the installer.dll, where it made
perfect sense to remove all installed Wintun drivers in the update
process.
Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/api.vcxproj')
-rw-r--r-- | api/api.vcxproj | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/api.vcxproj b/api/api.vcxproj index 16b8102..8bb4092 100644 --- a/api/api.vcxproj +++ b/api/api.vcxproj @@ -196,7 +196,6 @@ <ClInclude Include="api.h" /> <ClInclude Include="adapter.h" /> <ClInclude Include="atomic.h" /> - <ClInclude Include="driver.h" /> <ClInclude Include="logger.h" /> <ClInclude Include="namespace.h" /> <ClInclude Include="nci.h" /> @@ -208,7 +207,6 @@ <ItemGroup> <ClCompile Include="api.c" /> <ClCompile Include="adapter.c" /> - <ClCompile Include="driver.c" /> <ClCompile Include="logger.c" /> <ClCompile Include="namespace.c" /> <ClCompile Include="nci.c" /> |