Repository-Metriken
- Stars
- (81.257 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Describe the bug
LocalSend may fail to start in Windows Server environments, as most installations are not configured in a way that wlanapi.dll is available for use.
To reproduce
Attempt to start LocalSend on a Windows Server OS (Desktop Experience) with its out-of-box configuration.
Expected behavior
LocalSend should start without issues, as the application's core functionality does not necessarily require a wireless NIC.
Screenshots

Desktop (please complete the following information)
- OS: Windows Server
- Version: 2019
Smartphone (please complete the following information)
No response
Additional context
While smoke testing a new version of the Chocolatey package against the latest Chocolatey Testing Environment image (itself based on Windows Server 2019), I decided to try a quick runtime test and encountered this issue.
Windows Server has wireless networking functionality disabled by default, and requires enabling the Wireless LAN Service feature (WirelessNetworking) to install the necessary components. From my limited testing, LocalSend appears to start and work as intended once the Optional Feature is enabled, and after the OS is rebooted successfully.
Based on some poking around, it seems the network_info_plus package in particular has a dependency on Windows's Native Wifi API, which is likely responsible for the requirement. Not sure if it's possible or practical for LocalSend to use an alternate source for network information when the required components are not available.
For now, the feature requirement may need to be documented as a prerequisite for Windows Server environments.