feat: refs #5308 Upgrade to v7 #6

Merged
guillermo merged 5 commits from 5308-hideDeveloperOptions into master 2024-02-23 12:31:39 +00:00
1 changed files with 4 additions and 5 deletions
Showing only changes of commit 13489bc713 - Show all commits

View File

@ -179,7 +179,7 @@ var App = {
}
this.$('datasource').value = this.dsName;
if (this.regRead(Conf.regPath, 'autoDeployDevOptions') && this.hasDeveloperMode)
if (this.regRead(Conf.regPath, 'autoDisplayDevOptions') && this.hasDeveloperMode)
App.openOptions()
this.refreshDeveloperMode();
@ -211,17 +211,16 @@ var App = {
this.$('password').select();
},
createODBC: function(path, dsName, driverName, description) {
var driverPath = this.getEnv('ProgramFiles') + Conf.driverPath;
var params = {
Driver: driverPath,
Driver: this.getEnv('ProgramFiles') + Conf.driverPath,
DESCRIPTION: description,
SERVER: Conf.defaultServer,
DATABASE: Conf.dbName,
SSLCA: this.certFile,
SSLMODE: 'VERIFY_IDENTITY',
SSLCIPHER: 'AES256-SHA',
SSLMODE: 'REQUIRED',
AUTO_RECONNECT: 1,
NO_PROMPT: 1,
NO_BIGINT: 1
};
this.regWrite(path + 'ODBC Data Sources', dsName, driverName);