mirror of
https://github.com/heyman/heynote.git
synced 2024-12-24 07:39:07 +01:00
7 lines
179 B
TypeScript
7 lines
179 B
TypeScript
|
const os = require('os');
|
||
|
|
||
|
export const isMac = os.platform() === "darwin";
|
||
|
export const isWindows = os.platform() === "win32";
|
||
|
export const isLinux = os.platform() === "linux";
|
||
|
|