mirror of
https://github.com/danog/code-server.git
synced 2024-11-27 04:45:52 +01:00
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:
parent
0529f52b9d
commit
b32b4edf3d
@ -48,7 +48,7 @@ bundle_code_server() {
|
|||||||
{
|
{
|
||||||
"commit": "$(git rev-parse HEAD)",
|
"commit": "$(git rev-parse HEAD)",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "./postinstall.sh"
|
"postinstall": "bash ./postinstall.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user