Browse Source

Minor fixes

pull/3102/head 0.7.8
Ramiro Saenz 4 years ago
parent
commit
6f4f33d53d
  1. 1
      app/ux/Auth0.js
  2. 5
      resources/installer/notarize.js
  3. 6
      resources/js/rambox-service-api.js

1
app/ux/Auth0.js

@ -259,7 +259,6 @@ Ext.define('Rambox.ux.Auth0', {
,autoHideMenuBar: true
,skipTaskbar: true
,fullscreenable: false
,modal: true
,parent: require('electron').remote.getCurrentWindow()
,webPreferences: {
partition: 'persist:rambox'

5
resources/installer/notarize.js

@ -12,6 +12,7 @@ exports.default = async function notarizing(context) {
appBundleId: 'com.grupovrs.ramboxce',
appPath: `${appOutDir}/${appName}.app`,
appleId: '[email protected]',
appleIdPassword: process.env.APPLE_ID_PWD
appleIdPassword: process.env.APPLE_ID_PWD,
ascProvider: '7F292FPD69'
});
};
};

6
resources/js/rambox-service-api.js

@ -55,3 +55,9 @@ window.rambox.contextMenuBuilder = new ContextMenuBuilder();
window.rambox.contextMenuListener = new ContextMenuListener(function(event, info) {
window.rambox.contextMenuBuilder.showPopupMenu(info);
});
const mousetrap = require('mousetrap');
mousetrap.bind(process.platform === 'darwin' ? ['command+left', 'command+right'] : ['alt+left', 'alt+right'], e => {
if (location.href.indexOf('slack.com') !== -1) return;
e.key === 'ArrowLeft' ? history.back() : history.forward();
});

Loading…
Cancel
Save