|
|
|
@ -16,6 +16,10 @@ var setTrayMenu = function (items) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var removeTrayMenu = function () {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function initCordova() {
|
|
|
|
|
platform_type = "cordova";
|
|
|
|
|
|
|
|
|
@ -78,6 +82,11 @@ function initNW() {
|
|
|
|
|
icon: 'www/img/logo_64.png'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
removeTrayMenu = function () {
|
|
|
|
|
nw_tray.remove();
|
|
|
|
|
nw_tray = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setTrayMenu = function (items) {
|
|
|
|
|
var menu = new nw.Menu();
|
|
|
|
|
menu.append(new nw.MenuItem({
|
|
|
|
|