mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Use a custom configuration dialogue and allow the user to specify
the application path as well as the Python path.
This commit is contained in:
@@ -79,10 +79,13 @@ Server::~Server()
|
||||
|
||||
bool Server::Init()
|
||||
{
|
||||
QSettings settings;
|
||||
|
||||
// Find the webapp
|
||||
QStringList paths;
|
||||
paths.append("../web/"); // Windows/Linux source tree
|
||||
paths.append("../../../../web/"); // Mac source tree (in the app bundle)
|
||||
paths.append(settings.value("ApplicationPath").toString()); // System configured value
|
||||
paths.append(""); // Should be last!
|
||||
|
||||
for (int i = 0; i < paths.size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user