mirror of
https://github.com/jiahaog/Nativefier
synced 2024-06-25 07:37:41 +02:00
15 lines
210 B
JavaScript
15 lines
210 B
JavaScript
import os from 'os';
|
|
|
|
function isOSX() {
|
|
return os.platform() === 'darwin';
|
|
}
|
|
|
|
function isWindows() {
|
|
return os.platform() === 'win32';
|
|
}
|
|
|
|
export default {
|
|
isOSX: isOSX,
|
|
isWindows: isWindows
|
|
};
|