We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb27aaa + bce1496 commit ed4c25cCopy full SHA for ed4c25c
1 file changed
internal/osutils/shortcut/shortcut_windows.go
@@ -61,7 +61,7 @@ func (s *Shortcut) Enable() error {
61
}
62
63
64
- args := []string{"-File", sf.Filename(), "-dir", s.dir, "-name", s.name, "-target", s.target, "-shortcutArgs", s.args}
+ args := []string{"-executionpolicy", "bypass", "-File", sf.Filename(), "-dir", s.dir, "-name", s.name, "-target", s.target, "-shortcutArgs", s.args}
65
66
if s.windowStyle != 0 {
67
args = append(args, "-windowStyle", fmt.Sprintf("%d", s.windowStyle))
0 commit comments