Skip to content

Commit 25a8b77

Browse files
committed
feat(ci): try calling windows signing hook
1 parent 16e091c commit 25a8b77

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

bin/sign-windows.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default async function (filePath) {
2+
console.log(`Path to file to sign: ${filePath}`)
3+
}

forge.config.cjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ module.exports = {
6363
config: {
6464
iconUrl: "https://raw.githubusercontent.com/TriliumNext/Notes/develop/images/app-icons/icon.ico",
6565
setupIcon: "./images/app-icons/icon.ico",
66-
loadingGif: "./images/app-icons/win/setup-banner.gif"
66+
loadingGif: "./images/app-icons/win/setup-banner.gif",
67+
windowsSign: {
68+
hookModulePath: "./bin/sign-windows.js"
69+
}
6770
}
6871
},
6972
{

0 commit comments

Comments
 (0)