Fixed paths for Flatpak broken after Electron changes. #7793

This commit is contained in:
Aditya Toshniwal 2024-08-12 13:32:58 +05:30
parent fb0022923a
commit ba3deb5b9b

View File

@ -46,6 +46,7 @@ export const getAppPaths = (basePath) => {
if (insideFlatpak()) { if (insideFlatpak()) {
pythonPath = '/usr/bin/python'; pythonPath = '/usr/bin/python';
pgadminFile = '/app/pgAdmin4/web/pgAdmin4.py'; pgadminFile = '/app/pgAdmin4/web/pgAdmin4.py';
return [pythonPath, pgadminFile];
} }
break; break;
default: default: