electron: Fix asset path on forge build

This commit is contained in:
Elian Doran
2024-11-02 11:49:33 +02:00
parent d1404492a7
commit e72eb5f27c
4 changed files with 24 additions and 14 deletions

View File

@@ -15,7 +15,8 @@ module.exports = {
...getExtraResourcesForPlatform(),
// Moved to resources (TriliumNext Notes.app/Contents/Resources on macOS)
"translations/"
"translations/",
"node_modules/@highlightjs/cdn-assets/styles"
],
afterComplete: [(buildPath, _electronVersion, platform, _arch, callback) => {
const extraResources = getExtraResourcesForPlatform();