a truly horrifying autoconnect

This commit is contained in:
2022-04-18 21:52:31 +02:00
parent f790e5000e
commit 1fb62954aa
8 changed files with 282 additions and 42 deletions

11
door-thing-app/src/renderer.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
export interface IElectronAPI {
send: (channel: string, data: any) => Promise<void>;
receive: (channel: string, func: any) => void;
}
declare global {
interface Window {
api: IElectronAPI;
newDevice: Promise<BluetoothDevice> | null;
}
}