build: Change name of application for Electron Forge

This commit is contained in:
Elian Doran 2024-08-11 06:09:28 +03:00
parent 2752f30f21
commit 3028b20a7f
No known key found for this signature in database

View File

@ -4,10 +4,9 @@ const fs = require('fs-extra');
module.exports = {
packagerConfig: {
executableName: "trilium",
name: 'TriliumNextNotes',
name: 'TriliumNext Notes',
overwrite: true,
asar: true,
// icon will break once we add .dmg support, since the .ico & .icns have to be in same dir (see https://www.electronforge.io/guides/create-and-add-icons#windows-and-macos)
icon: "./images/app-icons/icon",
extraResource: getExtraResourcesForPlatform(),
afterComplete: [(buildPath, electronVersion, platform, arch, callback) => {