Skip to content

Commit

Permalink
build(client/electron/windows): delete unused find_tap_name (#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna authored Apr 5, 2024
1 parent 341e6d7 commit db98df4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 193 deletions.
Binary file not shown.
Binary file not shown.
20 changes: 0 additions & 20 deletions client/tools/find_tap_name/build.action.sh

This file was deleted.

172 changes: 0 additions & 172 deletions client/tools/find_tap_name/main.go

This file was deleted.

8 changes: 7 additions & 1 deletion src/electron/find_tap_device_name.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
:: Queries the registry in order to retrieve the most recently installed TAP network adapter's name.
:: Accepts a single argument, the name of an environment variable to store the adapter's name.
:: Exits with a non-zero exit code on failure.
:: Usage example: find_tap_name.bat TAP_NAME
:: Usage example: find_tap_device_name.bat TAP_NAME

:: Some history:
:: We used to use a Go binary for this to improve the name detection:
:: https://github.com/Jigsaw-Code/outline-apps/pull/711
:: It was later replaced by this script "following reports that the Go binaries fail to run on some environments":
:: https://github.com/Jigsaw-Code/outline-apps/pull/756

@echo off
:: See https://ss64.com/nt/delayedexpansion.html
Expand Down

0 comments on commit db98df4

Please sign in to comment.