aboutsummaryrefslogtreecommitdiff
path: root/internal/setting/computed.go
blob: 7bdee05334171012b44a681eb7af7d421b8d7cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}