Skip to content

Commit 3a96eae

Browse files
authored
Merge pull request ActiveState#3428 from ActiveState/version/0-45-1-RC1
Version 0.45.1-RC1
2 parents 1ae8c53 + 9707aad commit 3a96eae

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## 0.45.1
10+
11+
### Fixed
12+
13+
* Fixed issue where installation on Windows would fail with a message from powershell saying script running is disabled.
14+
* Context: We use a powershell script to create start menu shortcuts for the State Tool, as there are no solutions
15+
in Golang to do this through system APIs.
16+
917
## 0.45.0
1018

1119
### Added

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(), "-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))

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.45.0-RC2
1+
0.45.1-RC1

0 commit comments

Comments
 (0)