File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 25
25
- name: Run electron-forge
26
26
shell: cmd
27
27
run: npm run make-electron -- --arch=${{ inputs.arch }}
28
+ env:
29
+ WINDOWS_SIGNTOOL_PATH: "C:\\ev_signer_trilium\\ev_signer_trilium.exe"
30
+ WINDOWS_SIGN_WITH_PARAMS: --executable
28
31
- uses: actions/upload-artifact@v4
29
32
with:
30
33
name: Artifacts
Original file line number Diff line number Diff line change 38
38
os: ${{ matrix.os.name }}
39
39
arch: ${{ matrix.arch }}
40
40
extension: ${{ matrix.os.extension }}
41
+ env:
42
+ WINDOWS_SIGNTOOL_PATH: "C:\\ev_signer_trilium\\ev_signer_trilium.exe"
43
+ WINDOWS_SIGN_WITH_PARAMS: --executable
41
44
- name: Publish artifacts
42
45
uses: actions/upload-artifact@v4
43
46
with:
Original file line number Diff line number Diff line change 1
1
const path = require("path");
2
2
const fs = require("fs-extra");
3
-
4
3
const APP_NAME = "TriliumNext Notes";
5
4
6
5
module.exports = {
@@ -10,6 +9,12 @@ module.exports = {
10
9
overwrite: true,
11
10
asar: true,
12
11
icon: "./images/app-icons/icon",
12
+ signToolPath: "C:\\ev_signer_trilium\\ev_signer_trilium.exe",
13
+ signWithParams: "--executable",
14
+ windowsSign: {
15
+ signToolPath: "C:\\ev_signer_trilium\\ev_signer_trilium.exe",
16
+ signWithParams: "--executable",
17
+ },
13
18
extraResource: [
14
19
// Moved to root
15
20
...getExtraResourcesForPlatform(),
@@ -65,7 +70,8 @@ module.exports = {
65
70
setupIcon: "./images/app-icons/icon.ico",
66
71
loadingGif: "./images/app-icons/win/setup-banner.gif",
67
72
windowsSign: {
68
- hookModulePath: "./bin/sign-windows.js"
73
+ signToolPath: "C:\\ev_signer_trilium\\ev_signer_trilium.exe",
74
+ signWithParams: "--executable",
69
75
}
70
76
}
71
77
},
You can’t perform that action at this time.
0 commit comments