feat: add desktop repo (#1071)

This commit is contained in:
Mo
2022-06-07 11:52:15 -05:00
committed by GitHub
parent 0bb12db948
commit 0b7ce82aaa
135 changed files with 17821 additions and 180 deletions

View File

@@ -14,6 +14,7 @@ declare global {
websocketUrl: string
electronAppVersion?: string
webClient?: DesktopManagerInterface
electronRemoteBridge?: unknown
application?: WebApplication
mainApplicationGroup?: ApplicationGroup

View File

@@ -1,8 +1,6 @@
/** Declared in webpack config */
declare const __VERSION__: string
declare const __DESKTOP__: boolean
declare const __WEB__: boolean
declare const __WEB_VERSION__: string
export const WebAppVersion = __VERSION__
export const IsDesktopPlatform = __DESKTOP__
export const IsWebPlatform = __WEB__
export const WebAppVersion = __WEB_VERSION__
export const IsDesktopPlatform = window.electronRemoteBridge != undefined
export const IsWebPlatform = window.electronRemoteBridge == undefined