diff --git a/README.md b/README.md index 78e64ee..fea3a0a 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,30 @@ -# GetGenshinWishLink -A script for getting Genshin Impact wish links on Windows. +
-## 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. +一条命令获取原神祈愿历史链接。 + +
+ +## 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')) ```