Update comatibility log to include Ente Desktop

This commit is contained in:
Shailesh Pandit 2022-02-08 10:18:21 +05:30
parent 95de5a76fe
commit 599472a252

View file

@ -6,11 +6,10 @@ import {
import isElectron from 'is-electron'; import isElectron from 'is-electron';
// TODO: check electron env to be campatible with this
export function canEnableMlSearch(): boolean { export function canEnableMlSearch(): boolean {
// check if is chrome or ente desktop // check if is chrome or ente desktop
if (!runningInChrome(false) && !isElectron()) { if (!runningInChrome(false) && !isElectron()) {
console.log('Not running in Chrome Desktop'); console.log('Not running in Chrome Desktop or Ente Desktop App');
return false; return false;
} }