fix env, sw, pwa

This commit is contained in:
Tom (plebeius.eth)
2025-05-22 17:42:04 +02:00
parent facd20d4c2
commit 0a5f868747
11 changed files with 56 additions and 8 deletions
@@ -13,7 +13,7 @@ import { isChristmas } from '../../../lib/utils/time-utils';
import Version from '../../version';
const commitRef = process.env.VITE_COMMIT_REF;
const isElectron = window.isElectron === true;
const isElectron = window.electronApi?.isElectron === true;
const CheckForUpdates = () => {
const { t } = useTranslation();