不需要管理员身份安装

This commit is contained in:
xljiulang 2021-07-15 21:54:07 +08:00
parent 02a04bc6d7
commit 846b539e7e
2 changed files with 3 additions and 2 deletions

View File

@ -124,7 +124,8 @@ namespace FastGithub.Scanner
{
using var stream = File.OpenWrite(dataFile);
var datas = this.ToArray()
.OrderByDescending(item => item.AvailableRate)
.OrderBy(item => item.Domain)
.ThenByDescending(item => item.AvailableRate)
.Select(item => GithubDomainAddress.From(item));
await JsonSerializer.SerializeAsync(stream, datas, cancellationToken: cancellationToken);

View File

@ -11,6 +11,6 @@ github定制版的dns服务解析github最优的ip
* 在你的电脑安装FastGithub.cer到`将所有的证书都放入下载存储\受信任的根证书颁发机构`
### 以windows服务运行
以管理员身份运行cmd键入如下命令其中D:\Softs为软件实际目录
运行cmd键入如下命令其中D:\Softs为软件实际目录
* D:\Softs\FastGithub.exe start // 安装并启动服务
* D:\Softs\FastGithub.exe stop // 卸载并删除服务