From c02aae8f34cdd1c7f91c93000cbea6f3d2a0c07a Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 12 Feb 2026 15:41:09 +0800 Subject: [PATCH] project: use my fork of `AvaloniaEdit` instead of official NuGet package (#1984) Signed-off-by: leo --- .github/workflows/build.yml | 2 ++ .gitmodules | 3 +++ SourceGit.slnx | 5 +++++ depends/AvaloniaEdit | 1 + src/SourceGit.csproj | 6 ++---- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 160000 depends/AvaloniaEdit diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48859b54..e97d0b1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,8 @@ jobs: sudo apt-get install -y curl wget git unzip zip libicu66 tzdata clang - name: Checkout sources uses: actions/checkout@v4 + with: + submodules: true - name: Setup .NET uses: actions/setup-dotnet@v4 with: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..1ef4a5fc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "depends/AvaloniaEdit"] + path = depends/AvaloniaEdit + url = https://github.com/love-linger/AvaloniaEdit.git diff --git a/SourceGit.slnx b/SourceGit.slnx index 080f2e63..a7a28f95 100644 --- a/SourceGit.slnx +++ b/SourceGit.slnx @@ -51,6 +51,11 @@ + + + + + diff --git a/depends/AvaloniaEdit b/depends/AvaloniaEdit new file mode 160000 index 00000000..35bf63ab --- /dev/null +++ b/depends/AvaloniaEdit @@ -0,0 +1 @@ +Subproject commit 35bf63abdbfa2350fa6c1695fc8608584479d9c3 diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj index 905a4753..014688f6 100644 --- a/src/SourceGit.csproj +++ b/src/SourceGit.csproj @@ -53,16 +53,14 @@ - - - - + +