From d4910e1b1dbcdbb0153c8573b4792ec83054aeda Mon Sep 17 00:00:00 2001 From: KirCute <951206789@qq.com> Date: Wed, 24 Dec 2025 16:21:26 +0800 Subject: [PATCH] refactor(bootstrap): fix OpenList-Mobile compile failed --- cmd/common.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cmd/common.go b/cmd/common.go index 80a19f963..e334fc1fa 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -5,10 +5,19 @@ import ( "path/filepath" "strconv" + "github.com/OpenListTeam/OpenList/v4/internal/bootstrap" "github.com/OpenListTeam/OpenList/v4/pkg/utils" log "github.com/sirupsen/logrus" ) +func Init() { + bootstrap.Init() +} + +func Release() { + bootstrap.Release() +} + var pid = -1 var pidFile string