From e7622bef179a548e1a2eeb00923aa585d866ebf8 Mon Sep 17 00:00:00 2001 From: leukipp Date: Sun, 23 Feb 2025 22:18:25 +0100 Subject: [PATCH] ref: use null status --- src/hardware.js | 2 +- src/integration.js | 2 +- src/webview.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardware.js b/src/hardware.js index 139990c..13b5177 100644 --- a/src/hardware.js +++ b/src/hardware.js @@ -6,7 +6,7 @@ const cpr = require("child_process"); global.HARDWARE = global.HARDWARE || { initialized: false, - status: "invalid", + status: null, session: {}, support: {}, display: { diff --git a/src/integration.js b/src/integration.js index 93c47d5..03434fa 100644 --- a/src/integration.js +++ b/src/integration.js @@ -4,7 +4,7 @@ const { app } = require("electron"); global.INTEGRATION = global.INTEGRATION || { initialized: false, - status: "offline", + status: null, }; /** diff --git a/src/webview.js b/src/webview.js index f0bab6f..898aa1c 100644 --- a/src/webview.js +++ b/src/webview.js @@ -5,7 +5,7 @@ const { app, screen, nativeTheme, ipcMain, BaseWindow, WebContentsView } = requi global.WEBVIEW = global.WEBVIEW || { initialized: false, - status: "offline", + status: null, locked: false, pointer: { position: {},