fix: 增加 env 配置执行脚本

This commit is contained in:
邹景立 2024-08-08 23:51:10 +08:00
parent 029f389088
commit d315de80fa

View File

@ -23,5 +23,10 @@
"require": {
"php": ">=7.1",
"zoujingli/think-plugs-admin": "^1.0"
},
"scripts": {
"post-autoload-dump": [
"@php -r \"file_exists('.env.example') && !file_exists('.env') && copy('.env.example', '.env');\""
]
}
}