helper / launch.sh
wIK5Ez2o's picture
Upload launch.sh
64ead7a verified
raw
history blame
306 Bytes
#!/bin/sh
BASE=/app
NAME=coze
cd $BASE
echo "waitting fetch $fetch"
curl -s "$fetch" -o helper.zip && unzip helper.zip
cd $BASE/${NAME}-helper
sed -i 's/puppeteerArgs\.push/\/\/ puppeteerArgs\.push/g' src/index.ts
sed -i 's/headless: false,/headless: "new",/g' src/index.ts
npm install && npm run start