diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-20 16:33:03 +0800 |
---|---|---|
committer | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-20 16:33:03 +0800 |
commit | 2e819a360c3ef49c2dc69fe2d1521ea823330a1f (patch) | |
tree | 902438627f610fb0b00ca177dd3686ef33bd5486 /internal/setting/computed.go | |
parent | 1c09373b4f7dbc68154c817b4ee44bfa3b3f637c (diff) |
build: rename build tag miniwinsvc -> minwinsvc
This was in fact a typo.
Diffstat (limited to 'internal/setting/computed.go')
-rw-r--r-- | internal/setting/computed.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/setting/computed.go b/internal/setting/computed.go new file mode 100644 index 00000000..7bdee053 --- /dev/null +++ b/internal/setting/computed.go @@ -0,0 +1,12 @@ +// Copyright 2020 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package setting + +var supportWindowsService bool + +// SupportWindowsService returns true if running as Windows Service is supported. +func SupportWindowsService() bool { + return supportWindowsService +} |