小程序目录调整完成

This commit is contained in:
aixianling
2022-05-12 12:16:40 +08:00
parent 6ed5ef69ad
commit 5d0801ac21
96 changed files with 14 additions and 1268 deletions

View File

@@ -5,7 +5,7 @@ const getFileInfo = (app, file) => {
let vue = fs.readFileSync(file).toString()
if (/appName/.test(vue)) {
let appName = vue.replace(/[\s\S]*(appName:.+),[\s\S]*/gm, '$1')
app.label = appName.replace(/(appName:|["'])/g, '')
app.label = appName.replace(/(appName:|["'])/g, '')?.trim()
if (/customNavigation/.test(vue)) {
app.style = {navigationStyle: "custom"}
} else