https://github.com/endlessm/windows-usb-launcher
USB Launcher app for Windows
https://github.com/endlessm/windows-usb-launcher
Last synced: over 1 year ago
JSON representation
USB Launcher app for Windows
- Host: GitHub
- URL: https://github.com/endlessm/windows-usb-launcher
- Owner: endlessm
- License: mpl-2.0
- Created: 2019-03-27T01:06:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T10:30:43.000Z (over 4 years ago)
- Last Synced: 2025-01-20T22:16:57.717Z (over 1 year ago)
- Language: C#
- Size: 577 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# windows-usb-launcher
USB Launcher app for Windows
## Build instructions
#### Tools
- [Visual Studio build tools 2017/2019 (msbuild)](https://visualstudio.microsoft.com/downloads/)
- [nuget](https://www.nuget.org/downloads)
- [.net development tools 4.6](https://dotnet.microsoft.com/download/visual-studio-sdks)
#### Commands
1. Restore nuget dependencies
```
nuget.exe restore
```
2. Build the solution
```
MSBuild.exe EndlessLauncher.sln /p:Configuration="";outdir=""
```
## Logging
By default, the application generates a desktop log file only if firmware setup or system requirements verification
fails with an error different than "NotUSB30Port".
To force the app to always generate the log file, run the application with "-fl/--fullLog" arguments
## Debug
It is possbile to "force" a system verification or a firmware setup error by running the application with "-e ",
"--errorCode " command arguments.
```
EndlessLauncher.exe -e GenericVerificationError
EndlessLauncher.exe --errorCode 100
```
Firmware setup error codes:
```
NoError = int.MinValue,
GenericFirmwareError = -1,
OpenProcessTokenError = 1,
LookupPrivilegeError,
AdjustTokenPrivilegeError,
EspPartitionNotFoundError,
GetBootBorderError,
NoExistingUefiEntriesError,
GetPartitionEspInfoError,
FindFreeUefiEntryError,
CreateNewUefiEntryError,
AddToBootOrderError,
SetBootNextError,
FirmwareServiceInitializationError
```
System requirements verification error codes
```
NoError = int.MinValue,
GenericVerificationError = 100,
Not64BitSystem,
UnsupportedFirmware,
NoAdminRights,
UnsupportedOS,
InsufficientRAM,
SingleCoreProcessor,
UsbDeviceNotFound,
UsbPortNotFound,
NotUSB30Port,
NoUSBPortsFound
```
This will redirect the application to the incompatible USB(error) screen.