Delete launch.sh
Browse files
launch.sh
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
#!/bin/sh
|
2 |
-
|
3 |
-
BASE=/app
|
4 |
-
NAME=coze
|
5 |
-
|
6 |
-
cd $BASE
|
7 |
-
echo "waitting fetch $fetch"
|
8 |
-
curl -s "$fetch" -o helper.zip && unzip helper.zip
|
9 |
-
|
10 |
-
cd $BASE/${NAME}-helper
|
11 |
-
sed -i 's/puppeteerArgs\.push/\/\/ puppeteerArgs\.push/g' src/index.ts
|
12 |
-
sed -i 's/headless: false,/headless: "new",/g' src/index.ts
|
13 |
-
|
14 |
-
npm install && npm run start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|