From 6f4f33d53d4b5d2d9e308bdb31cf5ef6222fb299 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Fri, 30 Jul 2021 20:29:44 -0300 Subject: [PATCH] Minor fixes --- app/ux/Auth0.js | 1 - resources/installer/notarize.js | 5 +++-- resources/js/rambox-service-api.js | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/ux/Auth0.js b/app/ux/Auth0.js index 5751b61b8..8f3b6afee 100644 --- a/app/ux/Auth0.js +++ b/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' diff --git a/resources/installer/notarize.js b/resources/installer/notarize.js index 5d2b55629..36982fc07 100644 --- a/resources/installer/notarize.js +++ b/resources/installer/notarize.js @@ -12,6 +12,7 @@ exports.default = async function notarizing(context) { appBundleId: 'com.grupovrs.ramboxce', appPath: `${appOutDir}/${appName}.app`, appleId: 'saenzramiro@gmail.com', - appleIdPassword: process.env.APPLE_ID_PWD + appleIdPassword: process.env.APPLE_ID_PWD, + ascProvider: '7F292FPD69' }); -}; \ No newline at end of file +}; diff --git a/resources/js/rambox-service-api.js b/resources/js/rambox-service-api.js index 15e3d0ecf..30d6473aa 100644 --- a/resources/js/rambox-service-api.js +++ b/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(); +});