From e0925eac65883292842ac6b0a275608c0dc33cc0 Mon Sep 17 00:00:00 2001
From: Zaitonn <103164490+Zaitonn@users.noreply.github.com>
Date: Mon, 8 Jan 2024 18:13:43 +0800
Subject: [PATCH 1/3] enable `bool Navigate(object content, object extraData,
NavigationTransitionInfo infoOverride)`
---
.github/workflows/build.yml | 8 ++--
.../iNKORE.UI.WPF.Modern.Controls.csproj | 1 +
source/iNKORE.UI.WPF.Modern/Controls/Frame.cs | 41 ++++++++++++-------
.../iNKORE.UI.WPF.Modern.csproj | 1 +
4 files changed, 33 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 223edb61..85abc8b3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,7 +24,7 @@ jobs:
continue-on-error: true
run: |
dotnet build .\source\iNKORE.UI.WPF.Modern
- dotnet build .\source\iNKORE.UI.WPF.Modern.Gallery
+ dotnet publish .\source\iNKORE.UI.WPF.Modern.Gallery -r win-x64 -f net6.0-windows10.0.18362.0 --no-self-contained -p:PublishSingleFile=true -p:IncludeContentInSingleFile=true
# dotnet pack .\source\iNKORE.UI.WPF.Modern.Controls --configuration Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
- name: Upload binary libraries of iNKORE.UI.WPF.Modern.Controls
@@ -33,8 +33,8 @@ jobs:
name: iNKORE.UI.WPF.Modern.Controls dlls
path: .\source\iNKORE.UI.WPF.Modern.Controls\bin\Debug
- - name: Upload sample apps
+ - name: Upload Gallery apps
uses: actions/upload-artifact@v3
with:
- name: iNKORE.UI.WPF.Modern.Gallery files
- path: .\source\iNKORE.UI.WPF.Modern.Gallery\bin\Debug
+ name: iNKORE.UI.WPF.Modern.Gallery
+ path: .\source\iNKORE.UI.WPF.Modern.Gallery\bin\Debug\net6.0-windows10.0.18362.0\win-x64\publish
diff --git a/source/iNKORE.UI.WPF.Modern.Controls/iNKORE.UI.WPF.Modern.Controls.csproj b/source/iNKORE.UI.WPF.Modern.Controls/iNKORE.UI.WPF.Modern.Controls.csproj
index eedf1175..dd88608a 100644
--- a/source/iNKORE.UI.WPF.Modern.Controls/iNKORE.UI.WPF.Modern.Controls.csproj
+++ b/source/iNKORE.UI.WPF.Modern.Controls/iNKORE.UI.WPF.Modern.Controls.csproj
@@ -14,6 +14,7 @@
True
..\..\assets\misc\iNKORE.Pulic.snk
iNKORE.UI.WPF.Modern
+ true