diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-04-05 00:28:47 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-04-05 00:39:49 -0600 |
commit | 34e3a000c561fd2c8ef65bdb5a296f0b03095a99 (patch) | |
tree | 92557d70ea2433808636e9aafed27bcd5c12bcc2 /manager/service.go | |
parent | syntax: insist on 256-bit keys, not 257-bit or 258-bit (diff) | |
download | wireguard-windows-34e3a000c561fd2c8ef65bdb5a296f0b03095a99.tar.xz wireguard-windows-34e3a000c561fd2c8ef65bdb5a296f0b03095a99.zip |
updater: allow updating from the command line
The administrator user may run `wireguard.exe /update`, which will check
for updates and install it if available. A log file may be written using
`wireguard.exe /update path\to\log\file.txt`.
Requested-by: Elliot Saba <staticfloat@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'manager/service.go')
-rw-r--r-- | manager/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/service.go b/manager/service.go index dacb7864..6c3b039b 100644 --- a/manager/service.go +++ b/manager/service.go @@ -189,7 +189,7 @@ func (service *managerService) Execute(args []string, r <-chan svc.ChangeRequest Token: syscall.Token(elevatedToken), }, Files: []*os.File{devNull, devNull, devNull}, - Dir: userProfileDirectory, + Dir: userProfileDirectory, } procsLock.Lock() var proc *os.Process |