This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Description
From: lib/Util.js:
static unprivilegedHomeDirectory () {
if (process.platform === 'win32') {
return os.homedir()
} else {
// Linuxesque: return non-root home folder even if invoked via sudo.
const accountsFolder = os.platform() === 'darwin' ? 'Users' : 'home'
return `/${accountsFolder}/${Util.unprivilegedAccountName()}`
}
}