Closed anmenaga closed 6 years ago
This PR fixes error message in situations when PowerShell/IoT module is Not running with sudo/root.
Previously error message was:
PS /home/pi> Get-GpioPin 3 Get-GpioPin : The type initializer for 'Unosquare.RaspberryIO.Pi' threw an exception.
After this fix:
PS /home/pi> Get-GpioPin 3 Get-GpioPin : This cmdlet requires PowerShell to be started with root privileges.
Also added basic infra code for resource strings (e.g. error messages).
Fixes #32
This PR fixes error message in situations when PowerShell/IoT module is Not running with sudo/root.
Previously error message was:
After this fix:
Also added basic infra code for resource strings (e.g. error messages).
Fixes #32