Move windows-dummy-keystroke fork to signalapp organization

This commit is contained in:
Scott Nonnenberg
2023-08-07 17:39:57 -07:00
committed by GitHub
parent 3299b8f323
commit b2cb722c01
5 changed files with 34 additions and 33 deletions
+1 -1
View File
@@ -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
View File
@@ -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