mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 19:57:48 +08:00
upgrade: beta
This commit is contained in:
parent
208b40e7cf
commit
1b0db5a1e2
@ -201,11 +201,14 @@ func (m *tCefApplicationConfig) SetObjectRootName(name string) {
|
||||
|
||||
//energy framework env
|
||||
func (m *tCefApplicationConfig) framework() {
|
||||
var path = libPath()
|
||||
var path string
|
||||
if m.frameworkDirPath == 0 {
|
||||
path = libPath()
|
||||
} else {
|
||||
path = api.GoStr(m.frameworkDirPath)
|
||||
}
|
||||
if path != "" {
|
||||
if m.frameworkDirPath == 0 {
|
||||
m.SetFrameworkDirPath(path)
|
||||
}
|
||||
m.SetFrameworkDirPath(path)
|
||||
if m.cache == 0 {
|
||||
m.SetCache(filepath.Join(path, "cache"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user