chore: 修复 CI 和更新链接

This commit is contained in:
刘旭 2024-05-10 11:52:12 +08:00
commit e70c4d3b15
3 changed files with 5 additions and 5 deletions

View file

@ -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 }}

View file

@ -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:

View file

@ -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");
}
}