1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/node_modules/glightbox/development/notifications.js
Daniel Neto 59a20745e7 Update
2024-02-08 10:08:03 -03:00

15 lines
317 B
JavaScript

const path = require('path');
const notifier = require('node-notifier');
function notify(title, body) {
const icon = path.join(__dirname, 'icon.png');
notifier.notify({
title: title,
message: body,
icon: icon
});
console.log(`${title}, ${body}`);
}
module.exports = notify;