mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-25 19:49:43 +08:00
fix asf login disconnected
This commit is contained in:
Submodule references/ArchiSteamFarm updated: 6ac5ab83d7...9c619480e7
@@ -165,7 +165,8 @@ namespace Avalonia.Controls
|
||||
if (isSaveStatus)
|
||||
{
|
||||
this.Opened += FluentWindow_Opened;
|
||||
this.PositionChanged += FluentWindow_PositionChanged;
|
||||
if (this.CanResize)
|
||||
this.PositionChanged += FluentWindow_PositionChanged;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
xmlns:controls="clr-namespace:System.Application.UI.Views.Controls"
|
||||
xmlns:ms="clr-namespace:System.Application.Models.Settings;assembly=System.Application.SteamTools.Client.Desktop"
|
||||
FontFamily="{Binding Source={x:Static ms:UISettings.FontName},Path=Value, Mode=OneWay,Converter={StaticResource NameToFontFamilyConverter}}"
|
||||
Width="800" Height="600"
|
||||
MinWidth="800" MinHeight="600"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
ExtendClientAreaTitleBarHeightHint="30"
|
||||
Background="Transparent"
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>System</RootNamespace>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<!--(SignAssembly)对此程序集进行签名会导致编译失败(CompileAvaloniaXamlTask)-->
|
||||
<AssemblyName>System.Application.SteamTools.Client.Desktop.Avalonia</AssemblyName>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>System</RootNamespace>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<!--(SignAssembly)对此程序集进行签名会导致编译失败(CompileAvaloniaXamlTask)-->
|
||||
<AssemblyName>System.Application.SteamTools.Client.Desktop.Avalonia</AssemblyName>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="**\*.xaml.cs">
|
||||
<DependentUpon>%(Filename)</DependentUpon>
|
||||
</Compile>
|
||||
<AvaloniaResource Include="**\*.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</AvaloniaResource>
|
||||
<AvaloniaResource Include="Assets\**" />
|
||||
<AvaloniaResource Include="Application\UI\Assets\**" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="**\*.xaml.cs">
|
||||
<DependentUpon>%(Filename)</DependentUpon>
|
||||
</Compile>
|
||||
<AvaloniaResource Include="**\*.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</AvaloniaResource>
|
||||
<AvaloniaResource Include="Assets\**" />
|
||||
<AvaloniaResource Include="Application\UI\Assets\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Application\UI\Assets\Fonts\WenQuanYiMicroHei-01.ttf" />
|
||||
<None Remove="Application\UI\Assets\movecross.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="Application\UI\Assets\Fonts\WenQuanYiMicroHei-01.ttf" />
|
||||
<None Remove="Application\UI\Assets\movecross.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.cs">
|
||||
<Link>Properties\AssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.Version.cs">
|
||||
<Link>Properties\AssemblyInfo.Version.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\ST\Properties\InternalsVisibleTo.cs">
|
||||
<Link>Properties\InternalsVisibleTo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.cs">
|
||||
<Link>Properties\AssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.Version.cs">
|
||||
<Link>Properties\AssemblyInfo.Version.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\ST\Properties\InternalsVisibleTo.cs">
|
||||
<Link>Properties\InternalsVisibleTo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\references\AvaloniaGif\AvaloniaGif\AvaloniaGif.csproj" />
|
||||
<ProjectReference Include="..\Common.CoreLib\Common.CoreLib.csproj" />
|
||||
<ProjectReference Include="..\ST.Client.Desktop\ST.Client.Desktop.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\references\AvaloniaGif\AvaloniaGif\AvaloniaGif.csproj" />
|
||||
<ProjectReference Include="..\Common.CoreLib\Common.CoreLib.csproj" />
|
||||
<ProjectReference Include="..\ST.Client.Desktop\ST.Client.Desktop.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="0.10.999-cibuild0014857-beta" />
|
||||
<!--<PackageReference Include="Avalonia.AvaloniaEdit" Version="0.10.4" />-->
|
||||
<PackageReference Include="Avalonia.Desktop" Version="0.10.999-cibuild0014857-beta" />
|
||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="0.10.999-cibuild0014857-beta" />
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0014857-beta" />
|
||||
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="0.10.6" />
|
||||
<PackageReference Include="CefNet.Avalonia" Version="90.6.21124.1851" />
|
||||
<PackageReference Include="LibVLCSharp.Avalonia" Version="3.5.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="0.10.999-cibuild0014927-beta" />
|
||||
<!--<PackageReference Include="Avalonia.AvaloniaEdit" Version="0.10.4" />-->
|
||||
<PackageReference Include="Avalonia.Desktop" Version="0.10.999-cibuild0014927-beta" />
|
||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="0.10.999-cibuild0014927-beta" />
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.999-cibuild0014927-beta" />
|
||||
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="0.10.6.3" />
|
||||
<PackageReference Include="CefNet.Avalonia" Version="90.6.21124.1851" />
|
||||
<PackageReference Include="LibVLCSharp.Avalonia" Version="3.5.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.999-cibuild0014857-beta" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.999-cibuild0014927-beta" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -38,7 +38,7 @@ namespace System.Application.Services
|
||||
{
|
||||
SteamBotsSourceList = new SourceCache<Bot, string>(t => t.BotName);
|
||||
|
||||
InitASF();
|
||||
//InitASF();
|
||||
}
|
||||
|
||||
public async void InitASF()
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace System.Application.UI.ViewModels
|
||||
void AddAuthMenu_Click()
|
||||
{
|
||||
if (DI.DeviceIdiom == DeviceIdiom.Desktop && !AppSettings.IsOfficialChannelPackage) return;
|
||||
IShowWindowService.Instance.Show<AddAuthWindowViewModel>(CustomWindow.AddAuth);
|
||||
IShowWindowService.Instance.Show<AddAuthWindowViewModel>(CustomWindow.AddAuth,resizeMode:ResizeModeCompat.CanResize);
|
||||
}
|
||||
|
||||
public void ShowAuthCode(MyAuthenticator auth)
|
||||
|
||||
Reference in New Issue
Block a user