Merge branch 'master' into develop

This commit is contained in:
Jan Prochazka 2022-01-06 13:54:01 +01:00
commit 9690ddb32b
3 changed files with 18 additions and 9 deletions

View File

@ -1,4 +1,9 @@
# ChangeLog # ChangeLog
### 4.5.1
- FIXED: MongoId detection
- FIXED: #203 disabled spellchecker
- FIXED: Prevented display filters in form view twice
- FIXED: Query designer fixes
### 4.5.0 ### 4.5.0
- ADDED: #220 functions, materialized views and stored procedures in code completion - ADDED: #220 functions, materialized views and stored procedures in code completion

View File

@ -205,6 +205,7 @@ function createWindow() {
slashes: true, slashes: true,
}); });
mainWindow.on('close', () => { mainWindow.on('close', () => {
try {
fs.writeFileSync( fs.writeFileSync(
configRootPath, configRootPath,
JSON.stringify({ JSON.stringify({
@ -213,6 +214,9 @@ function createWindow() {
}), }),
'utf-8' 'utf-8'
); );
} catch (err) {
console.log('Error saving config-root:', err.message);
}
}); });
mainWindow.loadURL(startUrl); mainWindow.loadURL(startUrl);
if (os.platform() == 'linux') { if (os.platform() == 'linux') {

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "4.5.1-beta.2", "version": "4.5.1",
"name": "dbgate-all", "name": "dbgate-all",
"workspaces": [ "workspaces": [
"packages/*", "packages/*",