Skip to content

Commit 789a85a

Browse files
committed
Disable SetFileSharingEnabled
1 parent 52eba70 commit 789a85a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

util/osshare/filesharingstatus_windows.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package osshare
77

88
import (
9-
"fmt"
109
"os"
1110
"path/filepath"
1211
"runtime"
@@ -65,12 +64,12 @@ func findGUIInSameDirAsThisExe(logf logger.Logf) string {
6564

6665
// SetFileSharingEnabled adds/removes "Send with Tailscale" from the Windows shell menu.
6766
func SetFileSharingEnabled(enabled bool, logf logger.Logf) {
68-
logf = logger.WithPrefix(logf, fmt.Sprintf("SetFileSharingEnabled(%v) error: ", enabled))
67+
/*logf = logger.WithPrefix(logf, fmt.Sprintf("SetFileSharingEnabled(%v) error: ", enabled))
6968
if enabled {
7069
enableFileSharing(logf)
7170
} else {
7271
disableFileSharing(logf)
73-
}
72+
}*/
7473
}
7574

7675
func enableFileSharing(logf logger.Logf) {

0 commit comments

Comments
 (0)