mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-17 05:30:48 +08:00
fix CI
This commit is contained in:
@@ -40,9 +40,17 @@ jobs:
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: dotnet workload install macos
|
||||
|
||||
- name: Install Maui(Windows)
|
||||
- name: Install Android SDK(Android)
|
||||
if: matrix.os == 'macOS-latest'
|
||||
run: sudo dotnet workload install android
|
||||
|
||||
- name: Install Android SDK(Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: dotnet workload install maui
|
||||
run: dotnet workload install android
|
||||
|
||||
# - name: Install Maui(Windows)
|
||||
# if: matrix.os == 'windows-latest'
|
||||
# run: dotnet workload install maui
|
||||
|
||||
- name: Verify dotnet info
|
||||
run: dotnet --info
|
||||
|
||||
@@ -120,9 +120,9 @@ namespace System.Application
|
||||
|
||||
try
|
||||
{
|
||||
if (AvaloniaApplication.Current is App app)
|
||||
if (AvaloniaApplication.Current is IApplication app)
|
||||
{
|
||||
app.compositeDisposable.Dispose();
|
||||
app.CompositeDisposable.Dispose();
|
||||
}
|
||||
}
|
||||
catch
|
||||
|
||||
Reference in New Issue
Block a user