From 28ebae4525f35672acd6253b3022bdb8cdc1cbd1 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Wed, 28 Feb 2018 21:32:48 +0000 Subject: Update readme. Fix result parsing bug. Rearrange files - Prefix query result fields with an underscore to avoid clashing with JS builtin property/function names which causes issues with Tabulator - Move html files into their own dir --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index e7f0e44..d211c1e 100644 --- a/main.js +++ b/main.js @@ -20,7 +20,7 @@ function createMainWindow() { height: 600 }); uiWindow.loadURL(url.format({ - pathname: path.join(__dirname, "index.html"), + pathname: path.join(__dirname, "html", "index.html"), protocol: "file:", slashes: true })); @@ -54,7 +54,7 @@ function createNewConnectionDialog() { height: 600 }); newConnectionDialog.loadURL(url.format({ - pathname: path.join(__dirname, "new-connection.html"), + pathname: path.join(__dirname, "html", "new-connection.html"), protocol: "file:", slashes: true })); @@ -79,7 +79,7 @@ function createQueryExecutor(payload) { console.log("created executor with id:" + executor.executorId); executor.loadURL(url.format({ - pathname: path.join(__dirname, "./query-executor-wrapper.html"), + pathname: path.join(__dirname, "html", "query-executor-wrapper.html"), protocol: "file:", slashes: true })); -- cgit v1.2.3