Mirror updates
This commit is contained in:
parent
b32e223db5
commit
eda3f8b3b3
7 changed files with 34 additions and 22 deletions
|
@ -43,15 +43,17 @@ type Oauther struct {
|
|||
}
|
||||
|
||||
var (
|
||||
AppVer string
|
||||
AppName string
|
||||
AppLogo string
|
||||
AppUrl string
|
||||
IsProdMode bool
|
||||
Domain string
|
||||
SecretKey string
|
||||
RunUser string
|
||||
AppVer string
|
||||
AppName string
|
||||
AppLogo string
|
||||
AppUrl string
|
||||
IsProdMode bool
|
||||
Domain string
|
||||
SecretKey string
|
||||
RunUser string
|
||||
|
||||
RepoRootPath string
|
||||
ScriptType string
|
||||
|
||||
InstallLock bool
|
||||
|
||||
|
@ -310,6 +312,7 @@ func NewConfigContext() {
|
|||
if err = os.MkdirAll(RepoRootPath, os.ModePerm); err != nil {
|
||||
qlog.Fatalf("Fail to create RepoRootPath(%s): %v\n", RepoRootPath, err)
|
||||
}
|
||||
ScriptType = Cfg.MustValue("repository", "SCRIPT_TYPE", "bash")
|
||||
}
|
||||
|
||||
func NewBaseServices() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue