forked from gitea/gitea
1
0
Fork 0

fix get OS on some of the windows computers (#16007)

This commit is contained in:
BoYanZh 2021-05-29 15:37:21 +08:00 committed by GitHub
parent 461915daa6
commit fb6c6895fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ endif
ifeq ($(OS), Windows_NT)
GOFLAGS := -v -buildmode=exe
EXECUTABLE ?= gitea.exe
else ifeq ($(OS), Windows)
GOFLAGS := -v -buildmode=exe
EXECUTABLE ?= gitea.exe
else
GOFLAGS := -v
EXECUTABLE ?= gitea