Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(desktop): ship dark and tinted macOS icons on every channel (#3850)

Hampuse20500ef80c8
diff --git a/fluxer_desktop/electron-builder.config.cjs b/fluxer_desktop/electron-builder.config.cjs
index 2597aa147..e2f9edeb3 100644
--- a/fluxer_desktop/electron-builder.config.cjs
+++ b/fluxer_desktop/electron-builder.config.cjs
@@ -1720,7 +1720,7 @@ module.exports = {
to: 'badges',
filter: ['**/*'],
},
- ...(buildChannel === 'development' && targetPlatform === 'darwin'
+ ...(targetPlatform === 'darwin'
? [{from: `build_resources/${iconDir}/_compiled/Assets.car`, to: 'Assets.car'}]
: []),
],
@@ -1828,7 +1828,7 @@ module.exports = {
NSAppleEventsUsageDescription: 'Fluxer needs access to Apple Events for automation features.',
NSAudioCaptureUsageDescription: 'Fluxer captures audio from the screen or window you choose to share.',
NSScreenCaptureUsageDescription: 'Fluxer captures the screen or window you choose to share.',
- ...(buildChannel === 'development' ? {CFBundleIconName: 'AppIcon'} : {}),
+ CFBundleIconName: 'AppIcon',
NSLocalNetworkUsageDescription:
'Fluxer needs local network access to reach a Fluxer instance you host on your own network. It never scans your network or connects to devices you have not pointed it at.',
},