Bläddra i källkod

feat: 青龙面板支持

mrabit 2 år sedan
förälder
incheckning
c91cb39cad
5 ändrade filer med 19 tillägg och 14 borttagningar
  1. 0 1
      .github/workflows/workflow.yml
  2. 1 3
      .gitignore
  3. 9 10
      README.md
  4. 0 0
      config.js
  5. 9 0
      qlAction.js

+ 0 - 1
.github/workflows/workflow.yml

@@ -28,6 +28,5 @@ jobs:
           MT_DEVICEID: ${{ secrets.MT_DEVICEID }}
           BARK: ${{ secrets.BARK }}
         run: |
-          cp config.example.js config.js
           chmod 777 indexAction.js
           node ./indexAction.js

+ 1 - 3
.gitignore

@@ -168,6 +168,4 @@ dist
 *.code-workspace
 
 # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,node
-n
-
-config.js
+n

+ 9 - 10
README.md

@@ -7,20 +7,13 @@
 - [x] 自动旅行
 - [x] 每日首次旅行分享
 - [x] 领取申购耐力值
+- [x] github action 支持
+- [x] 青龙面板支持
 
-### 安装
+### 本地启动
 
 ```shell
 npm i -g pm2
-git clone git@github.com:mrabit/xmtravel.git
-cd xmtravel
-npm install
-```
-
-### 启动
-
-```shell
-cp config.example.js config.js
 # 脚本启动
 pm2 start script.json
 # 日志查看
@@ -29,6 +22,12 @@ pm2 logs xmtravel --out --lines=100
 
 ![xmtravel_log.png](./assets/xmtravel_log.png)
 
+### 青龙面板
+
+```shell
+ql repo https://github.com/mrabit/xmtravel.git "" "index|api|console|config" "api|console|config"
+```
+
 ### 申明
 
 - 本项目仅做学习交流, 禁止用于各种非法途径

+ 0 - 0
config.example.js → config.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 9 - 0
qlAction.js


Vissa filer visades inte eftersom för många filer har ändrats