Skip to content

Commit

Permalink
fixup! build: add macOS dmg
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Nov 5, 2024
1 parent 37106ec commit 5b4465a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 5b4465a

Please sign in to comment.