Update README.md

This commit is contained in:
zhxy-CN 2022-08-08 11:08:45 +08:00
parent 012bf1d77d
commit 3413777916
Signed by: zhxycn
GPG Key ID: CC305996B88B3C03

View File

@ -1,11 +1,30 @@
# GetGenshinWishLink
A script for getting Genshin Impact wish links on Windows.
<div align="center">
## How to use
Open Windows PowerShell and run any one of the following commands.
```
# GetGenshinWishLink
[![GitHub stars](https://img.shields.io/github/stars/zhxycn/GetGenshinWishLink?style=flat-square)](https://github.com/zhxycn/GetGenshinWishLink/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/zhxycn/GetGenshinWishLink?style=flat-square)](https://github.com/zhxycn/GetGenshinWishLink/network)
[![GitHub license](https://img.shields.io/github/license/zhxycn/GetGenshinWishLink?style=flat-square)](https://github.com/zhxycn/GetGenshinWishLink/blob/main/LICENSE)
[![jsDelivr](https://data.jsdelivr.com/v1/package/gh/zhxycn/GetGenshinWishLink/badge)](https://www.jsdelivr.com/package/gh/zhxycn/GetGenshinWishLink)
A script for getting Genshin Impact wish links on Windows.
一条命令获取原神祈愿历史链接。
</div>
## How to use | 使用方法
1. Open Genshin Impact game and open wish history page.
启动原神并打开祈愿历史记录页。
2. Open Windows PowerShell and run any one of the following commands.
打开 Windows PowerShell 并在下方命令中任选其一运行(推荐使用下方 jsDelivr )。
***Run the script hosted on GitHub***
```PowerShell
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/zhxycn/GetGenshinWishLink/main/GetGenshinWishLink.ps1'))
```
```
***Run the script hosted on jsDelivr***
```PowerShell
iex ((New-Object System.Net.WebClient).DownloadString('https://cdn.jsdelivr.net/gh/zhxycn/GetGenshinWishLink/GetGenshinWishLink.ps1'))
```