feat: add desktop repo (#1071)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user