From e8a15f48ee2f7f582e884119b773e9a240366573 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Sun, 10 Mar 2024 19:47:54 +0100 Subject: [PATCH] fix: signing --- .github/workflows/build.yml | 5 ++--- libcore | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de2d57ba..409cfc90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,8 +129,7 @@ jobs: - name: Setup Windows Signing Properties if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }} run: | - $decodedText = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}")) - Set-Content -Path "windows\sign.pfx" -Value $decodedText + [IO.File]::WriteAllBytes("windows\sign.pfx", [Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}")) (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 }}' cert-password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}' cert-sha1: '${{ secrets.WINDOWS_SIGNING_SHA1 }}' - folder: 'out' + folder: 'dist' timestamp-server: 'http://timestamp.digicert.com' recursive: true description: 'Hiddify' diff --git a/libcore b/libcore index 5c36de64..c86b5ccb 160000 --- a/libcore +++ b/libcore @@ -1 +1 @@ -Subproject commit 5c36de643d87a8cebafdc43c1689fc21f50ee0ec +Subproject commit c86b5ccb0dd266e83645519293db57bf60a99b5a