You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
This commit is contained in:
@ -5,7 +5,7 @@ const shim = {};
|
||||
shim.isNode = () => {
|
||||
if (typeof process === 'undefined') return false;
|
||||
if (shim.isElectron()) return true;
|
||||
return process.title == 'node';
|
||||
return process.title == 'node' || (process.title && process.title.indexOf('gulp') === 0);
|
||||
};
|
||||
|
||||
shim.isReactNative = () => {
|
||||
|
Reference in New Issue
Block a user