Skip to content

Commit bce1496

Browse files
committed
Move flag
1 parent 889134b commit bce1496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/osutils/shortcut/shortcut_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (s *Shortcut) Enable() error {
6161
}
6262
}
6363

64-
args := []string{"-File", sf.Filename(), "-executionpolicy", "bypass", "-dir", s.dir, "-name", s.name, "-target", s.target, "-shortcutArgs", s.args}
64+
args := []string{"-executionpolicy", "bypass", "-File", sf.Filename(), "-dir", s.dir, "-name", s.name, "-target", s.target, "-shortcutArgs", s.args}
6565

6666
if s.windowStyle != 0 {
6767
args = append(args, "-windowStyle", fmt.Sprintf("%d", s.windowStyle))

0 commit comments

Comments
 (0)