signal-desktop/js/modules/os.js
Daniel Gasienica 91daedd619 Add OS module
2018-03-05 10:29:11 -05:00

10 lines
196 B
JavaScript

/* eslint-env node */
exports.isMacOS = () =>
process.platform === 'darwin';
exports.isLinux = () =>
process.platform === 'linux';
exports.isWindows = () =>
process.platform === 'win32';