diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-25 20:50:53 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-25 20:50:53 +0000 |
| commit | fd1163670d72bfb799c63c0b6dc110ea0fbe6dda (patch) | |
| tree | 5854122befac72b02b89d5aa268755800a2d5d69 /main.js | |
| parent | 9981ad629449ee1adfa930cd86b121963f511659 (diff) | |
| download | sql-plus-plus-fd1163670d72bfb799c63c0b6dc110ea0fbe6dda.tar.xz sql-plus-plus-fd1163670d72bfb799c63c0b6dc110ea0fbe6dda.zip | |
Obfuscaste saved connection config
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,11 @@ const url = require("url"); const Store = require("electron-store"); const uuid = require('uuid/v1'); -const connectionStore = new Store(); +const connectionStore = new Store({ + name: "connections", + encryptionKey: "just-for-obfuscation-purposes" +}); + let uiWindow; let newConnectionDialog; let queryExecutors = []; @@ -145,7 +149,7 @@ function restoreSavedConnections() { console.log(connection[1]); createQueryExecutor(connection[1]); } - + if (connectionStore.size === 0) { createNewConnectionDialog(); } |