mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-03 12:10:55 -06:00
Disable NW.js dev tools shortcut on Mac as it may crash the app. #6183
This commit is contained in:
parent
1ccdbf27e2
commit
edb74a0839
@ -48,4 +48,5 @@ Bug fixes
|
|||||||
| `Issue #6158 <https://github.com/pgadmin-org/pgadmin4/issues/6158>`_ - Fixed an issue with the properties tab not getting updated if the user updates the selected node.
|
| `Issue #6158 <https://github.com/pgadmin-org/pgadmin4/issues/6158>`_ - Fixed an issue with the properties tab not getting updated if the user updates the selected node.
|
||||||
| `Issue #6159 <https://github.com/pgadmin-org/pgadmin4/issues/6159>`_ - Ensure that the ERD tool should work with the external database after moving to psycopg3.
|
| `Issue #6159 <https://github.com/pgadmin-org/pgadmin4/issues/6159>`_ - Ensure that the ERD tool should work with the external database after moving to psycopg3.
|
||||||
| `Issue #6180 <https://github.com/pgadmin-org/pgadmin4/issues/6180>`_ - Fixed an issue where PSQL is not working if the PGUSER env variable is set and service file is used for server connection details.
|
| `Issue #6180 <https://github.com/pgadmin-org/pgadmin4/issues/6180>`_ - Fixed an issue where PSQL is not working if the PGUSER env variable is set and service file is used for server connection details.
|
||||||
|
| `Issue #6183 <https://github.com/pgadmin-org/pgadmin4/issues/6183>`_ - Mac crash when you press Command-Shift-C.
|
||||||
| `Issue #6191 <https://github.com/pgadmin-org/pgadmin4/issues/6191>`_ - Fixed an issue where Reset Password is not working after upgrading to latest flask-security-too.
|
| `Issue #6191 <https://github.com/pgadmin-org/pgadmin4/issues/6191>`_ - Fixed an issue where Reset Password is not working after upgrading to latest flask-security-too.
|
||||||
|
@ -43,6 +43,11 @@ if (fs.existsSync('dev_config.json')) {
|
|||||||
// This functions is used to start the pgAdmin4 server by spawning a
|
// This functions is used to start the pgAdmin4 server by spawning a
|
||||||
// separate process.
|
// separate process.
|
||||||
function startDesktopMode() {
|
function startDesktopMode() {
|
||||||
|
// Disable dev tools shortcut
|
||||||
|
if (platform() == 'darwin') {
|
||||||
|
nw.App.registerGlobalHotKey(new nw.Shortcut({key: 'Command+Shift+C'}), ()=>{});
|
||||||
|
}
|
||||||
|
|
||||||
// Return if pgAdmin server process is already spawned
|
// Return if pgAdmin server process is already spawned
|
||||||
// Added check for debugging purpose.
|
// Added check for debugging purpose.
|
||||||
if (pgadminServerProcess != null)
|
if (pgadminServerProcess != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user