fix: run postinstall script explicitly with bash (#4116)

Currently, Windows default script-shell (cmd) fails to run the postinstall script. This commit fixes the problem by running postinstall.sh explicitly with the default bash executable of the OS.

Related: #1397
This commit is contained in:
Max 2021-09-09 00:11:20 +08:00 committed by GitHub
parent 0529f52b9d
commit b32b4edf3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ bundle_code_server() {
{
"commit": "$(git rev-parse HEAD)",
"scripts": {
"postinstall": "./postinstall.sh"
"postinstall": "bash ./postinstall.sh"
}
}
EOF