Build Copay for OSX, Linux and Windows
This commit is contained in:
parent
f14aeaef0c
commit
c0b496c7e7
15 changed files with 759 additions and 101 deletions
|
|
@ -370,7 +370,7 @@ angular
|
|||
needProfile: false
|
||||
});
|
||||
})
|
||||
.run(function($rootScope, $state, $log, gettextCatalog, uriHandler, isCordova, amMoment, profileService, $timeout) {
|
||||
.run(function($rootScope, $state, $log, gettextCatalog, uriHandler, isCordova, amMoment, profileService, $timeout, nodeWebkit) {
|
||||
FastClick.attach(document.body);
|
||||
|
||||
// Auto-detect browser language
|
||||
|
|
@ -392,6 +392,14 @@ angular
|
|||
uriHandler.register();
|
||||
}
|
||||
|
||||
if (nodeWebkit.isDefined()) {
|
||||
var gui = require('nw.gui');
|
||||
var win = gui.Window.get();
|
||||
var nativeMenuBar = new gui.Menu({ type: "menubar" });
|
||||
nativeMenuBar.createMacBuiltin("Copay");
|
||||
win.menu = nativeMenuBar;
|
||||
}
|
||||
|
||||
var pageWeight = {
|
||||
walletHome: 0,
|
||||
copayers: -1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue