Commit 72d53f8d authored by nanahira's avatar nanahira

autoinstall gocqhttp

parent f55a4ac8
Pipeline #10250 passed with stages
in 2 minutes and 19 seconds
......@@ -6,7 +6,8 @@
"port": "{{server.build.default.port}}",
"plugins.console.open": false,
"plugins.console.uiPath": "{{env.URL_PREFIX}}{{server.build.default.port}}",
"plugins.console.apiPath": "{{env.URL_PREFIX}}{{server.build.default.port}}/status"
"plugins.console.apiPath": "{{env.URL_PREFIX}}{{server.build.default.port}}/status",
"plugins.gocqhttp.$placeholder": true
}
}
}
......@@ -4,7 +4,7 @@
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2022-03-03T01:00:49+08:00",
"exported_at": "2022-03-03T14:10:58+08:00",
"name": "Koishi",
"author": "nanahira@momobako.com",
"description": "Chatbot.",
......@@ -15,14 +15,14 @@
"file_denylist": [],
"startup": "npm start",
"config": {
"files": "{\r\n \"koishi.config.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"host\": \"0.0.0.0\",\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"plugins.console.open\": false,\r\n \"plugins.console.uiPath\": \"{{env.URL_PREFIX}}{{server.build.default.port}}\",\r\n \"plugins.console.apiPath\": \"{{env.URL_PREFIX}}{{server.build.default.port}}\/status\"\r\n }\r\n }\r\n}",
"files": "{\r\n \"koishi.config.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"host\": \"0.0.0.0\",\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"plugins.console.open\": false,\r\n \"plugins.console.uiPath\": \"{{env.URL_PREFIX}}{{server.build.default.port}}\",\r\n \"plugins.console.apiPath\": \"{{env.URL_PREFIX}}{{server.build.default.port}}\/status\",\r\n \"plugins.gocqhttp.$placeholder\": true\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"server listening at\",\r\n \"userInteraction\": []\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\nnpm i -g create-koishi\r\necho \"koishi-app\" | create-koishi\r\n\r\nmv koishi-app\/* \/mnt\/server\/\r\nmv koishi-app\/.editorconfig \/mnt\/server\/\r\nmv koishi-app\/.gitignore \/mnt\/server\/",
"script": "#!\/bin\/bash\r\n\r\nnpm i -g create-koishi\r\necho \"koishi-app\" | create-koishi\r\n\r\nmv koishi-app\/* \/mnt\/server\/\r\nmv koishi-app\/.editorconfig \/mnt\/server\/\r\nmv koishi-app\/.gitignore \/mnt\/server\/\r\n\r\ncd \/mnt\/server\r\n\r\nnpm i\r\nnpm i koishi-plugin-gocqhttp",
"container": "node:bullseye",
"entrypoint": "bash"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment