@@ -0,0 +1,6 @@
+if test -f ./src/manifest.json; then
+ echo ./src/manifest.json 存在
+else
+ touch ./src/manifest.json
+ echo "{}" >./src/manifest.json
+fi
@@ -12,6 +12,7 @@
"gitee": "https://gitee.com/codercup/unibest"
},
"scripts": {
+ "postinstall": "sh ./build/postinstall.sh",
"dev:app": "uni -p app",
"dev:app-android": "uni -p app-android",
"dev:app-ios": "uni -p app-ios",