Skip to content

Commit f66ddf4

Browse files
committed
Disable SetFileSharingEnabled
1 parent 0f357ef commit f66ddf4

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
"sync"
@@ -55,12 +54,12 @@ func getIpnExePath(logf logger.Logf) string {
5554

5655
// SetFileSharingEnabled adds/removes "Send with Tailscale" from the Windows shell menu.
5756
func SetFileSharingEnabled(enabled bool, logf logger.Logf) {
58-
logf = logger.WithPrefix(logf, fmt.Sprintf("SetFileSharingEnabled(%v) error: ", enabled))
57+
/*logf = logger.WithPrefix(logf, fmt.Sprintf("SetFileSharingEnabled(%v) error: ", enabled))
5958
if enabled {
6059
enableFileSharing(logf)
6160
} else {
6261
disableFileSharing(logf)
63-
}
62+
}*/
6463
}
6564

6665
func enableFileSharing(logf logger.Logf) {

0 commit comments

Comments
 (0)