From 5b4465af266de5525ac3f417fe17b7ed4a46342f Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 5 Nov 2024 14:45:58 +0100 Subject: [PATCH] fixup! build: add macOS dmg Signed-off-by: Grigorii K. Shartsev --- forge.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/forge.config.js b/forge.config.js index 6cccae24..af99847c 100644 --- a/forge.config.js +++ b/forge.config.js @@ -83,7 +83,8 @@ module.exports = { // macOS appBundleId: CONFIG.macAppId, darwinDarkModeSupport: true, - appCategoryType: 'public.app-category.social-networking', // LSApplicationCategoryType | https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html + // https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW8 + appCategoryType: 'public.app-category.business', }, makers: [ @@ -113,6 +114,7 @@ module.exports = { new MakerDMG({ icon: path.join(__dirname, 'img/icons/icon.icns'), background: path.join(__dirname, 'img/dmg-background.png'), + // https://github.com/LinusU/node-appdmg?tab=readme-ov-file#specification additionalDMGOptions: { // Background does not work when the title has spaces or special characters title: 'NextcloudTalk',