API wrapper for AllowSetForegroundWindow
npm install windows-foreground-love
var allowSetForegroundWindow = require('windows-foreground-love').allowSetForegroundWindow
console.log(allowSetForegroundWindow(pid))
console.log(allowSetForegroundWindow()) // all processes will be enabled to set the foreground window
- Windows
- Other platforms: installs, but doesn't do anything and always returns false
npm install -g node-gyp
npm install
npm test