From bed84eccab4c57324f86dbe680d26fa38ea90c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=97=AD?= Date: Fri, 10 May 2024 11:52:12 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=20CI=20=E5=92=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- docs/About touch support.md | 2 +- src/Magpie.App/HomeViewModel.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98f5ef198..d03bb7c70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.conan2/p - key: ${{ runner.os }}-conan-${{ hashFiles('src/**/conanfile.txt') }} + key: Conan-${{ hashFiles('src/**/conanfile.txt') }}-${{ matrix.platform }} - name: Generate tag id: tag @@ -54,7 +54,7 @@ jobs: echo "tag=$tag" >> $env:GITHUB_OUTPUT - name: Build - run: python publish.py ${{ matrix.platform }} + run: python publish.py ${{ matrix.platform }} unpackaged certs\Magpie.pfx "${{ secrets.MAGPIE_PFX_PASSWORD }}" env: MAJOR: ${{ inputs.major }} MINOR: ${{ inputs.minor }} diff --git a/docs/About touch support.md b/docs/About touch support.md index 4cbbdee2f..de327099b 100644 --- a/docs/About touch support.md +++ b/docs/About touch support.md @@ -1,7 +1,7 @@ Due to OS security restrictions, Magpie requires UIAccess privileges to support touch input. Obtaining this privilege necessitates meeting two conditions: 1. The application must possess a digital signature, and this signature must be verified by a certificate associated with a trusted root certificate authority store on the local machine. -2. TThe application must reside in a "secure location", such as the Program Files or System32 folders. +2. The application must reside in a "secure location", such as the Program Files or System32 folders. When enabling touch support, Magpie performs the following actions: diff --git a/src/Magpie.App/HomeViewModel.cpp b/src/Magpie.App/HomeViewModel.cpp index 445a2703b..4e2ddb0ef 100644 --- a/src/Magpie.App/HomeViewModel.cpp +++ b/src/Magpie.App/HomeViewModel.cpp @@ -216,9 +216,9 @@ fire_and_forget HomeViewModel::IsTouchSupportEnabled(bool value) { Uri HomeViewModel::TouchSupportLearnMoreUrl() const noexcept { if (LocalizationService::Get().Language() == L"zh-hans"sv) { - return Uri(L"https://github.com/Blinue/Magpie/blob/38e44d855f43f913b6d894112f09205f75ca07fa/docs/%E5%85%B3%E4%BA%8E%E8%A7%A6%E6%8E%A7%E6%94%AF%E6%8C%81.md"); + return Uri(L"https://github.com/Blinue/Magpie/blob/dev/docs/%E5%85%B3%E4%BA%8E%E8%A7%A6%E6%8E%A7%E6%94%AF%E6%8C%81.md"); } else { - return Uri(L"https://github.com/Blinue/Magpie/blob/38e44d855f43f913b6d894112f09205f75ca07fa/docs/About%20touch%20support.md"); + return Uri(L"https://github.com/Blinue/Magpie/blob/dev/docs/About%20touch%20support.md"); } }