From 2e819a360c3ef49c2dc69fe2d1521ea823330a1f Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Thu, 20 Feb 2020 16:33:03 +0800 Subject: build: rename build tag miniwinsvc -> minwinsvc This was in fact a typo. --- internal/setting/computed_minwinsvc.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 internal/setting/computed_minwinsvc.go (limited to 'internal/setting/computed_minwinsvc.go') diff --git a/internal/setting/computed_minwinsvc.go b/internal/setting/computed_minwinsvc.go new file mode 100644 index 00000000..27d0ce87 --- /dev/null +++ b/internal/setting/computed_minwinsvc.go @@ -0,0 +1,15 @@ +// +build minwinsvc + +// Copyright 2015 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 + +import ( + _ "github.com/gogs/minwinsvc" +) + +func init() { + supportWindowsService = true +} -- cgit v1.2.3