fix: 优化 env 安装触发脚本

This commit is contained in:
邹景立 2024-08-07 23:35:55 +08:00
parent 41f6333c3f
commit 239754813d

View File

@ -84,13 +84,7 @@
}
},
"scripts": {
"post-package-update": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"post-autoload-dump": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}