[READ-ONLY] Mirror of https://github.com/probablykasper/embler. Turn binaries into applications npmjs.com/package/embler
app builder cli dmg macos node package packager
0

Configure Feed

Select the types of activity you want to include in your feed.

added dark mode option

Kasper (Aug 16, 2020, 9:03 PM +0200) 9861a9b2 075a398a

+3 -1
+3 -1
src/build.js
··· 39 39 // icon: Joi.path().existingFile().pattern(/\.(zip|png)$/).message('{{#}}'), 40 40 formats: Joi.array().items('app').default(['app']), 41 41 backgroundApp: Joi.bool().default(false), 42 + darkModeSupport: Joi.bool().default(true), 42 43 customInfo: Joi.object().default({}), 43 44 }) 44 45 }) ··· 105 106 CFBundleShortVersionString: options.version, 106 107 CFBundleVersion: options.version, 107 108 NSHumanReadableCopyright: `Copyright © ${year} ${options.author}`, 108 - LSUIElement: options.backgroundApp === true, 109 + LSUIElement: options.backgroundApp, 110 + NSRequiresAquaSystemAppearance: !darkModeSupport, 109 111 } 110 112 if (options.category) data.LSApplicationCategoryType = options.category 111 113 for (const [key, value] of Object.entries(options.mac.customInfo)) {