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