Some OS-specific adjustments
This commit is contained in:
parent
c31f193096
commit
7f13a79c9b
2 changed files with 21 additions and 14 deletions
|
|
@ -32,9 +32,6 @@ func checkIfRoot() (bool, error) {
|
|||
|
||||
func doUSBRootCheck() {
|
||||
switch runtime.GOOS {
|
||||
case "darwin":
|
||||
// Root privileges is not required in macOS.
|
||||
return
|
||||
case "windows":
|
||||
// Administrator privileges are not required in Windows.
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue