Skip to content

Commit 6e2d499

Browse files
authored
refactor(bootstrap): fix OpenList-Mobile compile failed (#1857)
1 parent 4680ece commit 6e2d499

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cmd/common.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@ import (
55
"path/filepath"
66
"strconv"
77

8+
"github.com/OpenListTeam/OpenList/v4/internal/bootstrap"
89
"github.com/OpenListTeam/OpenList/v4/pkg/utils"
910
log "github.com/sirupsen/logrus"
1011
)
1112

13+
func Init() {
14+
bootstrap.Init()
15+
}
16+
17+
func Release() {
18+
bootstrap.Release()
19+
}
20+
1221
var pid = -1
1322
var pidFile string
1423

0 commit comments

Comments
 (0)