Update wide.go
This commit is contained in:
parent
b33638dc06
commit
4b1cdbb249
10
conf/wide.go
10
conf/wide.go
|
@ -138,8 +138,14 @@ func initUsers() {
|
|||
}
|
||||
|
||||
// Compatibility upgrade (1.5.3): https://github.com/b3log/wide/issues/308
|
||||
if "" == user.GoBuildArgs {
|
||||
user.GoBuildArgs = "-i"
|
||||
if "" == user.GoBuildArgsforLinux {
|
||||
user.GoBuildArgsforLinux = "-i"
|
||||
}
|
||||
if "" == user.GoBuildArgsforWindows {
|
||||
user.GoBuildArgsforWindows = "-i"
|
||||
}
|
||||
if "" == user.GoBuildArgsforDarwin {
|
||||
user.GoBuildArgsforDarwin = "-i"
|
||||
}
|
||||
|
||||
Users = append(Users, user)
|
||||
|
|
Loading…
Reference in New Issue