mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Adapt the web version to Electron
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
export type Platform = "win32" | "darwin" | "linux"
|
||||
|
||||
export interface ElectronInterface {
|
||||
desktop: true,
|
||||
platform: Platform
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electronInterface: ElectronInterface
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user