File tree 3 files changed +18
-2
lines changed
3 files changed +18
-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,14 @@ 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 : [
17
+ "--executable"
18
+ ]
19
+ } ,
13
20
extraResource : [
14
21
// Moved to root
15
22
...getExtraResourcesForPlatform ( ) ,
@@ -65,7 +72,10 @@ module.exports = {
65
72
setupIcon : "./images/app-icons/icon.ico" ,
66
73
loadingGif : "./images/app-icons/win/setup-banner.gif" ,
67
74
windowsSign : {
68
- hookModulePath : "./bin/sign-windows.js"
75
+ signToolPath : "C:\\ev_signer_trilium\\ev_signer_trilium.exe" ,
76
+ signWithParams : [
77
+ "--executable"
78
+ ]
69
79
}
70
80
}
71
81
} ,
You can’t perform that action at this time.
0 commit comments