Skip to content

Commit

Permalink
support ltoken requests #207
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Nov 18, 2022
1 parent a8bc0cf commit efcf062
Show file tree
Hide file tree
Showing 35 changed files with 855 additions and 466 deletions.
4 changes: 2 additions & 2 deletions src/Snap.Hutao/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_diagnostic.SA1629.severity = silent
dotnet_diagnostic.SA1642.severity = silent
dotnet_diagnostic.SA1629.severity = none
dotnet_diagnostic.SA1642.severity = none

dotnet_diagnostic.IDE0060.severity = none

Expand Down
2 changes: 1 addition & 1 deletion src/Snap.Hutao/SettingsUI/SettingsUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.221109.1" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.221116.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions src/Snap.Hutao/Snap.Hutao/Core/CoreEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
using Snap.Hutao.Core.Convert;
using Snap.Hutao.Core.Json;
using Snap.Hutao.Extension;
using Snap.Hutao.Web.Hoyolab.DynamicSecret;
using System.Collections.Immutable;
using System.Text.Encodings.Web;
using System.Text.Json.Serialization.Metadata;
using System.Text.Unicode;
using Windows.ApplicationModel;

namespace Snap.Hutao.Core;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// <auto-generated />
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Snap.Hutao.Migrations
{
/// <inheritdoc />
public partial class SplitStoken : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Stoken",
table: "users",
type: "TEXT",
nullable: true);
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Stoken",
table: "users");
}
}
}
Loading

0 comments on commit efcf062

Please sign in to comment.