Skip to content

Commit

Permalink
Add back code signing for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1m0n committed May 1, 2024
1 parent 021c2b6 commit 246a222
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,25 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Code signing for Windows
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
dotnet tool install --global AzureSignTool --version 5.0.0
AzureSignTool.exe sign -du "https://explorers.biblekids.io" ^
-kvu "https://bccm-code-sign2.vault.azure.net" ^
--azure-key-vault-client-id $WINDOWS_CLIENT_ID ^
--azure-key-vault-client-secret $WINDOWS_CLIENT_PASSWORD ^
-kvc "BCC MEDIA STI" ^
-tr http://timestamp.digicert.com ^
-v ^
$(System.DefaultWorkingDirectory)\dist-app\*.exe
fi
shell: bash
env:
WINDOWS_CLIENT_ID: ${{secrets.BCCM_WINDOWS_CLIENT_ID}}
WINDOWS_CLIENT_PASSWORD: ${{secrets.BCCM_WINDOWS_CLIENT_PASSWORD}}

- name: Building the Electron app for Mac
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bible-explorers",
"version": "1.6.11",
"version": "1.6.12",
"description": "App for Bible Explorers",
"main": ".vite/build/main.js",
"repository": {
Expand Down

0 comments on commit 246a222

Please sign in to comment.