miniwinsvc.go 295 B

12345678910111213141516
  1. // +build miniwinsvc
  2. // Copyright 2015 The Gogs Authors. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package setting
  6. import (
  7. _ "github.com/kardianos/minwinsvc"
  8. )
  9. func init() {
  10. SupportMiniWinService = true
  11. }