Skip to content

Commit

Permalink
chore(ci): using signing params instead of hook
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 19, 2025
1 parent 25a8b77 commit 29d9f39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/actions/build-electron/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ runs:
- name: Run electron-forge
shell: cmd
run: npm run make-electron -- --arch=${{ inputs.arch }}
env:
WINDOWS_SIGNTOOL_PATH: "C:\\ev_signer_trilium\\ev_signer_trilium.exe"
WINDOWS_SIGN_WITH_PARAMS: --executable
- uses: actions/upload-artifact@v4
with:
name: Artifacts
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
os: ${{ matrix.os.name }}
arch: ${{ matrix.arch }}
extension: ${{ matrix.os.extension }}
env:
WINDOWS_SIGNTOOL_PATH: "C:\\ev_signer_trilium\\ev_signer_trilium.exe"
WINDOWS_SIGN_WITH_PARAMS: --executable
- name: Publish artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion forge.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ module.exports = {
iconUrl: "https://raw.githubusercontent.com/TriliumNext/Notes/develop/images/app-icons/icon.ico",
setupIcon: "./images/app-icons/icon.ico",
loadingGif: "./images/app-icons/win/setup-banner.gif",
signToolPath: "C:\\ev_signer_trilium\\ev_signer_trilium.exe",
signWithParams: "--executable",
windowsSign: {
hookModulePath: "./bin/sign-windows.js"
signToolPath: "C:\\ev_signer_trilium\\ev_signer_trilium.exe",
signWithParams: "--executable"
}
}
},
Expand Down

0 comments on commit 29d9f39

Please sign in to comment.