nav tabs on admin dashboard
This commit is contained in:
8
node_modules/node-notifier/index.js
generated
vendored
8
node_modules/node-notifier/index.js
generated
vendored
@@ -10,7 +10,9 @@ var WindowsBalloon = require('./notifiers/balloon');
|
||||
|
||||
var options = { withFallback: true };
|
||||
|
||||
switch (os.type()) {
|
||||
var osType = utils.isWSL() ? 'WSL' : os.type();
|
||||
|
||||
switch (osType) {
|
||||
case 'Linux':
|
||||
module.exports = new NotifySend(options);
|
||||
module.exports.Notification = NotifySend;
|
||||
@@ -28,6 +30,10 @@ switch (os.type()) {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user