diff --git a/package.json b/package.json index 782abbe18f..856fd3c844 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "browserslist": "last 1 chrome versions", "main": "app/main.js", "scripts": { - "postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps && rimraf node_modules/dtrace-provider", + "postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps", "postuninstall": "yarn build:acknowledgments", "start": "electron .", "generate": "npm-run-all build-protobuf build:esbuild sass get-expire-time copy-components", diff --git a/ts/services/notifications.ts b/ts/services/notifications.ts index 9650e85ff4..3ace09c813 100644 --- a/ts/services/notifications.ts +++ b/ts/services/notifications.ts @@ -256,7 +256,7 @@ class NotificationService extends EventEmitter { const shouldDrawAttention = storage.get( 'notification-draw-attention', - true + false ); if (shouldDrawAttention) { log.info('NotificationService: drawing attention'); diff --git a/ts/util/createIPCEvents.ts b/ts/util/createIPCEvents.ts index 36c9513984..7466ffdb4e 100644 --- a/ts/util/createIPCEvents.ts +++ b/ts/util/createIPCEvents.ts @@ -325,7 +325,7 @@ export function createIPCEvents( setNotificationSetting: (value: 'message' | 'name' | 'count' | 'off') => window.storage.put('notification-setting', value), getNotificationDrawAttention: () => - window.storage.get('notification-draw-attention', true), + window.storage.get('notification-draw-attention', false), setNotificationDrawAttention: value => window.storage.put('notification-draw-attention', value), getAudioNotification: () => window.storage.get('audio-notification'),