mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
15 lines
212 B
JavaScript
15 lines
212 B
JavaScript
import os from 'os';
|
|
|
|
function isOSX() {
|
|
return os.platform() === 'darwin';
|
|
}
|
|
|
|
function isWindows() {
|
|
return os.platform() === 'windows';
|
|
}
|
|
|
|
export default {
|
|
isOSX: isOSX,
|
|
isWindows: isWindows
|
|
};
|