forked from RfidResearchGroup/proxmark3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If WSLENV is not set (which, for my clean installation of Win10 with Debian, it was not), PATH is not populated with Windows' entries and is missing PowerShell executable, causing the COM port listing to fail. This commit adds a fallback with the default path if not found in PATH, and also replaces the wmic.exe check (which is no longer used) with a PSH check.
- Loading branch information
1 parent
8a0bbe2
commit 5d7cdcf
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters