wIK5Ez2o commited on
Commit
64ead7a
·
verified ·
1 Parent(s): 09ee40d

Upload launch.sh

Browse files
Files changed (1) hide show
  1. launch.sh +14 -0
launch.sh ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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