fix: signing
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -129,8 +129,7 @@ jobs:
|
|||||||
- name: Setup Windows Signing Properties
|
- name: Setup Windows Signing Properties
|
||||||
if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }}
|
if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }}
|
||||||
run: |
|
run: |
|
||||||
$decodedText = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}"))
|
[IO.File]::WriteAllBytes("windows\sign.pfx", [Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}"))
|
||||||
Set-Content -Path "windows\sign.pfx" -Value $decodedText
|
|
||||||
(Get-Content "windows\packaging\msix\make_config.yaml") -replace '^certificate_password:.*$', 'certificate_password: ${{ secrets.WINDOWS_SIGNING_PASSWORD }}' | Set-Content "windows\packaging\msix\make_config.yaml"
|
(Get-Content "windows\packaging\msix\make_config.yaml") -replace '^certificate_password:.*$', 'certificate_password: ${{ secrets.WINDOWS_SIGNING_PASSWORD }}' | Set-Content "windows\packaging\msix\make_config.yaml"
|
||||||
|
|
||||||
|
|
||||||
@@ -181,7 +180,7 @@ jobs:
|
|||||||
certificate: '${{ secrets.WINDOWS_SIGNING_KEY }}'
|
certificate: '${{ secrets.WINDOWS_SIGNING_KEY }}'
|
||||||
cert-password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}'
|
cert-password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}'
|
||||||
cert-sha1: '${{ secrets.WINDOWS_SIGNING_SHA1 }}'
|
cert-sha1: '${{ secrets.WINDOWS_SIGNING_SHA1 }}'
|
||||||
folder: 'out'
|
folder: 'dist'
|
||||||
timestamp-server: 'http://timestamp.digicert.com'
|
timestamp-server: 'http://timestamp.digicert.com'
|
||||||
recursive: true
|
recursive: true
|
||||||
description: 'Hiddify'
|
description: 'Hiddify'
|
||||||
|
|||||||
2
libcore
2
libcore
Submodule libcore updated: 5c36de643d...c86b5ccb0d
Reference in New Issue
Block a user