diff --git a/.github/release_message.md b/.github/release_message.md index 83f4ef86..a8aa9d8e 100644 --- a/.github/release_message.md +++ b/.github/release_message.md @@ -1,5 +1,10 @@ [![Release Downloads](https://img.shields.io/github/downloads/hiddify/hiddify-next/RELEASE_TAG/total?style=flat-square&logo=github)](https://img.shields.io/github/downloads/hiddify/hiddify-next/RELEASE_TAG/) + + + + + **Release Highlights:** - diff --git a/.github/workflows/add_signed_microsft.yml b/.github/workflows/add_signed_microsft.yml new file mode 100644 index 00000000..b05f7365 --- /dev/null +++ b/.github/workflows/add_signed_microsft.yml @@ -0,0 +1,25 @@ +name: Upload store MSIX to release + +permissions: + contents: write + +on: + release: + types: [released] # Run the action when a GitHub release is published + + schedule: + - cron: '0 */6 * * *' # Run the action every 6 hours + + workflow_dispatch: # Manually run the action + +jobs: + upload-store-msix-to-release: + runs-on: ubuntu-latest + + steps: + - name: Upload store MSIX to release + uses: JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release@v1 + with: + store-id: 9pdfnl3qv2s5 + token: ${{ secrets.GITHUB_TOKEN }} + asset-name-pattern: Hiddify-Windows-Setup-x64 # Optional \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51594939..6197627d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -182,16 +182,15 @@ jobs: tree .\scripts\package_windows.ps1 - # - name: Code Sign - # if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }} - # uses: dlemstra/code-sign-action@v1 - # with: - # certificate: '-----BEGIN CERTIFICATE-----\n${{ secrets.WINDOWS_SIGNING_KEY }}-----END CERTIFICATE-----\n' - # password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}' - # folder: 'out' - # recursive: true - - # description: 'Hiddify' + - name: Code Sign + if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }} + uses: dlemstra/code-sign-action@v1 + with: + certificate: '${{ secrets.WINDOWS_SIGNING_KEY }}' + password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}' + folder: 'out' + recursive: true + description: 'Hiddify' - name: Copy to out Android APK if: matrix.platform == 'android-apk' diff --git a/windows/packaging/msix/make_config.yaml b/windows/packaging/msix/make_config.yaml index af1f653c..e4b2b364 100644 --- a/windows/packaging/msix/make_config.yaml +++ b/windows/packaging/msix/make_config.yaml @@ -1,6 +1,6 @@ -display_name: HiddifyNext +display_name: Hiddify publisher_display_name: Hiddify -identity_name: Hiddify.HiddifyNext +identity_name: Hiddify.Hiddify msix_version: 0.16.16.0 logo_path: windows\runner\resources\app_icon.ico capabilities: internetClient, internetClientServer, privateNetworkClientServer