diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 15:18:58 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 15:26:55 +0200 |
commit | 3ae8e02d733dc266c7705830b073202a296057dd (patch) | |
tree | d0a5711d8f2fa18bdede241686a1608480aa5436 /updater/msirunner_windows.go | |
parent | ui: fix listview painting on win 7 classic theme and high contrast themes (diff) | |
download | wireguard-windows-3ae8e02d733dc266c7705830b073202a296057dd.tar.xz wireguard-windows-3ae8e02d733dc266c7705830b073202a296057dd.zip |
manager: use winpipe instead of winio
Diffstat (limited to '')
-rw-r--r-- | updater/msirunner_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/updater/msirunner_windows.go b/updater/msirunner_windows.go index 92fd4e0e..38acc0ac 100644 --- a/updater/msirunner_windows.go +++ b/updater/msirunner_windows.go @@ -16,8 +16,8 @@ import ( "syscall" "unsafe" - "github.com/Microsoft/go-winio" "golang.org/x/sys/windows" + "golang.zx2c4.com/wireguard/ipc/winpipe" ) func runMsi(msiPath string, userToken uintptr) error { @@ -61,7 +61,7 @@ func msiTempFile() (*os.File, error) { if n != int(len(randBytes)) { return nil, errors.New("Unable to generate random bytes") } - sd, err := winio.SddlToSecurityDescriptor("O:SYD:PAI(A;;FA;;;SY)(A;;FR;;;BA)") + sd, err := winpipe.SddlToSecurityDescriptor("O:SYD:PAI(A;;FA;;;SY)(A;;FR;;;BA)") if err != nil { return nil, err } |