mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-10 08:40:42 +01:00
Text connection fix
This commit is contained in:
parent
42e0353393
commit
baea5c26e2
@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [0.0.1-alpha]() - Coming Soon
|
## [0.0.1-alpha](https://github.com/Fabio286/antares/releases/tag/v0.0.1-alpha) - 2020-06-19
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="256" src="https://raw.githubusercontent.com/Fabio286/antares/master/docs/logo.png">
|
<img width="256" src="https://raw.githubusercontent.com/Fabio286/antares/master/docs/screen-alpha.png">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# Antares
|
# Antares
|
||||||
|
BIN
docs/screen-alpha.png
Normal file
BIN
docs/screen-alpha.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 KiB |
@ -10,7 +10,7 @@
|
|||||||
"compile": "electron-webpack",
|
"compile": "electron-webpack",
|
||||||
"dist": "cross-env NODE_ENV=production npm run compile && electron-builder",
|
"dist": "cross-env NODE_ENV=production npm run compile && electron-builder",
|
||||||
"dist:dir": "cross-env NODE_ENV=production npm run dist --dir -c.compression=store -c.mac.identity=null",
|
"dist:dir": "cross-env NODE_ENV=production npm run dist --dir -c.compression=store -c.mac.identity=null",
|
||||||
"publish": "build -p always"
|
"publish": "cross-env NODE_ENV=production npm run dist -p always"
|
||||||
},
|
},
|
||||||
"author": "Fabio Di Stasio <fabio286@gmail.com>",
|
"author": "Fabio Di Stasio <fabio286@gmail.com>",
|
||||||
"build": {
|
"build": {
|
||||||
|
@ -73,14 +73,10 @@ export class AntaresConnector {
|
|||||||
switch (this._client) {
|
switch (this._client) {
|
||||||
case 'maria':
|
case 'maria':
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
if (!this._poolSize) {
|
if (!this._poolSize)
|
||||||
const connection = mysql.createConnection(this._params);
|
this._connection = mysql.createConnection(this._params);
|
||||||
this._connection = connection.promise();
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
this._connection = mysql.createPool({ ...this._params, connectionLimit: this._poolSize });
|
this._connection = mysql.createPool({ ...this._params, connectionLimit: this._poolSize });
|
||||||
// this._connection = pool.promise();
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'mssql': {
|
case 'mssql': {
|
||||||
const mssqlParams = {
|
const mssqlParams = {
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
updateStatus: 'application/getUpdateStatus',
|
updateStatus: 'application/getUpdateStatus',
|
||||||
downloadPercentage: 'application/getDownloadProgress'
|
downloadPercentage: 'application/getDownloadProgress'// TODO: remove float
|
||||||
}),
|
}),
|
||||||
updateMessage () {
|
updateMessage () {
|
||||||
switch (this.updateStatus) {
|
switch (this.updateStatus) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user