aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-02-28 21:32:48 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2018-02-28 21:32:48 +0000
commit28ebae4525f35672acd6253b3022bdb8cdc1cbd1 (patch)
treef78cd401095f6405057d3e67509218483f789413 /main.js
parent46d3ba84ed407548d368dd146393e747cfb2d0af (diff)
downloadsql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.tar.xz
sql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.zip
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
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 3 insertions, 3 deletions
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
}));