diff --git a/config/daemon/get-os-folder.js b/config/daemon/get-os-folder.js new file mode 100644 index 0000000..039b184 --- /dev/null +++ b/config/daemon/get-os-folder.js @@ -0,0 +1,12 @@ +// @flow +import os from 'os'; + +export default () => { + const platform = os.platform(); + + if (platform === 'darwin') { + return 'mac'; + } + + return 'linux'; +};