Update comatibility log to include Ente Desktop
This commit is contained in:
parent
95de5a76fe
commit
599472a252
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue