Some OS-specific adjustments

This commit is contained in:
AlexSSD7 2023-08-30 18:29:41 +01:00
commit 7f13a79c9b
2 changed files with 21 additions and 14 deletions

View file

@ -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