From 9f1d9489e05bac889d54f5f0e7395223d4259b7a Mon Sep 17 00:00:00 2001 From: genteure Date: Tue, 7 Jun 2022 18:35:46 +0800 Subject: [PATCH] Update GitHub links --- BililiveRecorder.Cli/Configure/ConfigureCommand.cs | 2 +- BililiveRecorder.Cli/Configure/JsonSchemaSelection.cs | 2 +- BililiveRecorder.Core/Config/V2/config.schema.json | 6 +++--- BililiveRecorder.WPF/Pages/AboutPage.xaml | 2 +- BililiveRecorder.Web/Startup.cs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BililiveRecorder.Cli/Configure/ConfigureCommand.cs b/BililiveRecorder.Cli/Configure/ConfigureCommand.cs index 571c98d..fbfa516 100644 --- a/BililiveRecorder.Cli/Configure/ConfigureCommand.cs +++ b/BililiveRecorder.Cli/Configure/ConfigureCommand.cs @@ -200,7 +200,7 @@ namespace BililiveRecorder.Cli.Configure switch (selection) { case JsonSchemaSelection.Default: - config.DollarSignSchema = "https://raw.githubusercontent.com/Bililive/BililiveRecorder/dev-1.3/configV2.schema.json"; + config.DollarSignSchema = "https://raw.githubusercontent.com/BililiveRecorder/BililiveRecorder/dev/configV3.schema.json"; break; case JsonSchemaSelection.Custom: config.DollarSignSchema = AnsiConsole.Prompt(new TextPrompt("[green]JSON Schema[/]:").AllowEmpty()); diff --git a/BililiveRecorder.Cli/Configure/JsonSchemaSelection.cs b/BililiveRecorder.Cli/Configure/JsonSchemaSelection.cs index bc90b83..8799665 100644 --- a/BililiveRecorder.Cli/Configure/JsonSchemaSelection.cs +++ b/BililiveRecorder.Cli/Configure/JsonSchemaSelection.cs @@ -4,7 +4,7 @@ namespace BililiveRecorder.Cli.Configure { public enum JsonSchemaSelection { - [Description("https://raw.githubusercontent.com/Bililive/BililiveRecorder/dev-1.3/configV2.schema.json")] + [Description("https://raw.githubusercontent.com/BililiveRecorder/BililiveRecorder/dev/configV3.schema.json")] Default, [Description("Custom")] diff --git a/BililiveRecorder.Core/Config/V2/config.schema.json b/BililiveRecorder.Core/Config/V2/config.schema.json index 23c76fb..68749d2 100644 --- a/BililiveRecorder.Core/Config/V2/config.schema.json +++ b/BililiveRecorder.Core/Config/V2/config.schema.json @@ -1,5 +1,5 @@ { - "$comment": "Deprecated. Use https://raw.githubusercontent.com/Bililive/BililiveRecorder/dev-1.3/configV2.schema.json", + "$comment": "Deprecated. Use https://raw.githubusercontent.com/BililiveRecorder/BililiveRecorder/dev/configV3.schema.json", "$schema": "http://json-schema.org/schema", "definitions": { "global-config": { @@ -542,7 +542,7 @@ ], "properties": { "$schema": { - "const": "https://raw.githubusercontent.com/Bililive/BililiveRecorder/dev-1.3/configV2.schema.json" + "const": "https://raw.githubusercontent.com/BililiveRecorder/BililiveRecorder/dev-1.3/configV2.schema.json" }, "version": { "const": 2 @@ -557,4 +557,4 @@ } } } -} \ No newline at end of file +} diff --git a/BililiveRecorder.WPF/Pages/AboutPage.xaml b/BililiveRecorder.WPF/Pages/AboutPage.xaml index 0f37e5b..5652cd0 100644 --- a/BililiveRecorder.WPF/Pages/AboutPage.xaml +++ b/BililiveRecorder.WPF/Pages/AboutPage.xaml @@ -90,7 +90,7 @@ - + diff --git a/BililiveRecorder.Web/Startup.cs b/BililiveRecorder.Web/Startup.cs index cb0cfa6..d222955 100644 --- a/BililiveRecorder.Web/Startup.cs +++ b/BililiveRecorder.Web/Startup.cs @@ -95,7 +95,7 @@ namespace BililiveRecorder.Web c.SwaggerDoc("brec", new OpenApiInfo { Title = "录播姬 REST API", - Description = "录播姬网站 [rec.danmuji.org](https://rec.danmuji.org/) \n录播姬 GitHub [Bililive/BililiveRecorder](https://github.com/Bililive/BililiveRecorder) \n\n" + + Description = "录播姬网站 [rec.danmuji.org](https://rec.danmuji.org/) \n录播姬 GitHub [BililiveRecorder/BililiveRecorder](https://github.com/BililiveRecorder/BililiveRecorder) \n\n" + "除了 REST API 以外,录播姬还有 Graphql API 可以使用。\n\n" + "API 中的 objectId 在重启后会重新生成,不保存到配置文件。", Version = "v1"