rename keyboard to platform module, add getSelectedText

This commit is contained in:
CREDO23 2026-03-27 16:53:09 +02:00
parent 1133a36fe2
commit f931f08f00
2 changed files with 23 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import { BrowserWindow, clipboard, globalShortcut, ipcMain, screen, shell } from 'electron';
import path from 'path';
import { IPC_CHANNELS } from '../ipc/channels';
import { checkAccessibilityPermission, getFrontmostApp, simulatePaste } from './keyboard';
import { checkAccessibilityPermission, getFrontmostApp, simulatePaste } from './platform';
import { getServerPort } from './server';
const SHORTCUT = 'CommandOrControl+Option+S';