From 4b1cdbb249efd878e153b3e3df1f13159cfe0dd8 Mon Sep 17 00:00:00 2001 From: khjde1207 Date: Mon, 27 Mar 2017 11:00:15 +0900 Subject: [PATCH] Update wide.go --- conf/wide.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/conf/wide.go b/conf/wide.go index 77896bb..f302563 100644 --- a/conf/wide.go +++ b/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)