Update README.md
This commit is contained in:
parent
fdfbdb7f79
commit
25953de4ed
12
README.md
12
README.md
@ -15,33 +15,31 @@
|
|||||||
### 1. Fork 仓库
|
### 1. Fork 仓库
|
||||||
* 项目地址:[github/genshin-impact-helper](https://github.com/y1ndan/genshin-impact-helper)
|
* 项目地址:[github/genshin-impact-helper](https://github.com/y1ndan/genshin-impact-helper)
|
||||||
* 点击右上角**Fork**到自己的账号下
|
* 点击右上角**Fork**到自己的账号下
|
||||||

|

|
||||||
|
|
||||||
### 2. 获取 Cookie
|
### 2. 获取 Cookie
|
||||||
* 浏览器打开 https://bbs.mihoyo.com/ys/ 并登录账号
|
* 浏览器打开 https://bbs.mihoyo.com/ys/ 并登录账号
|
||||||
* 按**F12**,打开**开发者工具**,找到**Network**并点击
|
* 按**F12**,打开**开发者工具**,找到**Network**并点击
|
||||||
* 按**F5**刷新页面,按下图复制**Cookie**
|
* 按**F5**刷新页面,按下图复制**Cookie**
|
||||||

|

|
||||||
|
|
||||||
### 3. 添加 Cookie 至 Secrets
|
### 3. 添加 Cookie 至 Secrets
|
||||||
* 回到项目页面,依次点击 Settings --> Secrets --> New secret
|
* 回到项目页面,依次点击 Settings --> Secrets --> New secret
|
||||||

|

|
||||||
* 建立名为`COOKIE`的 secret,值为**步骤2**中复制的**Cookie**内容,最后点击**Add secret**
|
* 建立名为`COOKIE`的 secret,值为**步骤2**中复制的**Cookie**内容,最后点击**Add secret**
|
||||||

|

|
||||||
|
|
||||||
### 4. 启用 Action
|
### 4. 启用 Action
|
||||||
> Actions 默认处于关闭状态,需要手动执行一次工作流,验证是否可以正常工作。
|
> Actions 默认处于关闭状态,需要手动执行一次工作流,验证是否可以正常工作。
|
||||||
|
|
||||||
点击 **Actions**,再点击左侧的**Genshin Impact Helper**,再点击**Run workflow**
|
点击 **Actions**,再点击左侧的**Genshin Impact Helper**,再点击**Run workflow**
|
||||||

|

|
||||||
|
|
||||||
至此,部署完毕。
|
至此,部署完毕。
|
||||||
|
|
||||||
## 说明
|
## 说明
|
||||||
|
|
||||||
1. 程序会在每天早上 6 点自动执行签到,也可以通过上述**步骤4**手动触发执行
|
1. 程序会在每天早上 6 点自动执行签到,也可以通过上述**步骤4**手动触发执行
|
||||||
|
|
||||||
2. 登录失效时,尝试重新更换 `Cookie`
|
2. 登录失效时,尝试重新更换 `Cookie`
|
||||||
|
|
||||||
3. 支持多账号,不同 `Cookie` 之间用 `#` 分开即可
|
3. 支持多账号,不同 `Cookie` 之间用 `#` 分开即可
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user