Skip to content

Commit

Permalink
chore: 修复 CI 和更新链接
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed May 10, 2024
1 parent bc00a16 commit bed84ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion docs/About touch support.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
4 changes: 2 additions & 2 deletions src/Magpie.App/HomeViewModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit bed84ec

Please sign in to comment.