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 = { module.exports = {
packagerConfig: { packagerConfig: {
executableName: "trilium", executableName: "trilium",
name: 'TriliumNextNotes', name: 'TriliumNext Notes',
overwrite: true, overwrite: true,
asar: 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", icon: "./images/app-icons/icon",
extraResource: getExtraResourcesForPlatform(), extraResource: getExtraResourcesForPlatform(),
afterComplete: [(buildPath, electronVersion, platform, arch, callback) => { afterComplete: [(buildPath, electronVersion, platform, arch, callback) => {