|
|
|
@ -3,5 +3,6 @@ export const isMac = process.platform === 'darwin';
|
|
|
|
|
export const isLinux = process.platform === 'linux';
|
|
|
|
|
export const isDevelopment = process.env.NODE_ENV === 'development';
|
|
|
|
|
|
|
|
|
|
export const isCreateTray = isWindows || isLinux || isDevelopment;
|
|
|
|
|
export const isCreateTray =
|
|
|
|
|
process.env.IS_ELECTRON && (isWindows || isLinux || isDevelopment);
|
|
|
|
|
export const isCreateMpris = isLinux;
|
|
|
|
|