We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c82e632 commit d16ba65Copy full SHA for d16ba65
1 file changed
cmd/lang.go
@@ -12,6 +12,7 @@ import (
12
"strings"
13
14
_ "github.com/alist-org/alist/v3/drivers"
15
+ "github.com/alist-org/alist/v3/internal/bootstrap"
16
"github.com/alist-org/alist/v3/internal/bootstrap/data"
17
"github.com/alist-org/alist/v3/internal/conf"
18
"github.com/alist-org/alist/v3/internal/op"
@@ -137,6 +138,7 @@ var LangCmd = &cobra.Command{
137
138
Use: "lang",
139
Short: "Generate language json file",
140
Run: func(cmd *cobra.Command, args []string) {
141
+ bootstrap.InitConfig()
142
err := os.MkdirAll("lang", 0777)
143
if err != nil {
144
utils.Log.Fatalf("failed create folder: %s", err.Error())
0 commit comments