mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-14 23:33:38 +00:00
1. Updated service-manager to support installing LaunchAgents
2. Started skeleton code for MacOS message-box
This commit is contained in:
@@ -208,6 +208,21 @@ function linux_messageBox()
|
||||
};
|
||||
}
|
||||
|
||||
function macos_messageBox()
|
||||
{
|
||||
this._ObjectID = 'message-box';
|
||||
this.create = function create(title, caption, timeout)
|
||||
{
|
||||
};
|
||||
this.notify = function notify(title, caption)
|
||||
{
|
||||
};
|
||||
this.startServer = function startServer(options)
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
switch(process.platform)
|
||||
{
|
||||
case 'win32':
|
||||
@@ -215,6 +230,9 @@ switch(process.platform)
|
||||
break;
|
||||
case 'linux':
|
||||
module.exports = new linux_messageBox();
|
||||
break;
|
||||
case 'darwin':
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user