AFFiNE/apps/electron/layers/utils.ts

8 lines
150 B
TypeScript
Raw Normal View History

export const isMacOS = () => {
return process.platform === 'darwin';
};
export const isWindows = () => {
return process.platform === 'win32';
};