ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.190.156.13 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/node_modules/node-notifier/ |
Upload File : |
var os = require('os'); var utils = require('./lib/utils'); // All notifiers var NotifySend = require('./notifiers/notifysend'); var NotificationCenter = require('./notifiers/notificationcenter'); var WindowsToaster = require('./notifiers/toaster'); var Growl = require('./notifiers/growl'); var WindowsBalloon = require('./notifiers/balloon'); var options = { withFallback: true }; var osType = utils.isWSL() ? 'WSL' : os.type(); switch (osType) { case 'Linux': module.exports = new NotifySend(options); module.exports.Notification = NotifySend; break; case 'Darwin': module.exports = new NotificationCenter(options); module.exports.Notification = NotificationCenter; break; case 'Windows_NT': if (utils.isLessThanWin8()) { module.exports = new WindowsBalloon(options); module.exports.Notification = WindowsBalloon; } else { module.exports = new WindowsToaster(options); module.exports.Notification = WindowsToaster; } break; case 'WSL': module.exports = new WindowsToaster(options); module.exports.Notification = WindowsToaster; break; default: if (os.type().match(/BSD$/)) { module.exports = new NotifySend(options); module.exports.Notification = NotifySend; } else { module.exports = new Growl(options); module.exports.Notification = Growl; } } // Expose notifiers to give full control. module.exports.NotifySend = NotifySend; module.exports.NotificationCenter = NotificationCenter; module.exports.WindowsToaster = WindowsToaster; module.exports.WindowsBalloon = WindowsBalloon; module.exports.Growl = Growl;