mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Move windows-dummy-keystroke fork to signalapp organization
This commit is contained in:
@@ -22,7 +22,7 @@ import { AUMID } from './startup_config';
|
||||
import type { WindowsNotificationData } from '../ts/services/notifications';
|
||||
import { renderWindowsToast } from './renderWindowsToast';
|
||||
|
||||
export { sendDummyKeystroke } from 'windows-dummy-keystroke';
|
||||
export { sendDummyKeystroke } from '@signalapp/windows-dummy-keystroke';
|
||||
|
||||
const NOTIFICATION_GROUP = 'group';
|
||||
const NOTIFICATION_TAG = 'tag';
|
||||
|
||||
+1
-1
@@ -247,7 +247,7 @@ if (!process.mas) {
|
||||
} else {
|
||||
app.on('second-instance', (_e: Electron.Event, argv: Array<string>) => {
|
||||
// Workaround to let AllowSetForegroundWindow succeed.
|
||||
// See https://www.npmjs.com/package/windows-dummy-keystroke for a full explanation of why this is needed.
|
||||
// See https://www.npmjs.com/package/@signalapp/windows-dummy-keystroke for a full explanation of why this is needed.
|
||||
sendDummyKeystroke?.();
|
||||
|
||||
// Someone tried to run a second instance, we should focus our window
|
||||
|
||||
Reference in New Issue
Block a user