Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ insideFlatpak
Function
insideFlatpak
runtime/src/js/misc.js:26–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
};
25
26
const
insideFlatpak = () => {
27
return
platform() ===
'linux'
&& fs.existsSync(
'/.flatpak-info'
);
28
};
29
30
// This function is used to get the python executable path
31
// based on the platform. Use this for deployment.
Callers
1
getAppPaths
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected