mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-09 04:16:38 +00:00
Use CLI 0.11.0.
- LS does not work, - Cannot reconnect to the daemon on browser refresh. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
20f44fe072
commit
cfde197198
@ -10,7 +10,7 @@
|
||||
|
||||
(() => {
|
||||
|
||||
const DEFAULT_VERSION = '0.11.0-rc1-62-g72c9655f'; // require('moment')().format('YYYYMMDD');
|
||||
const DEFAULT_VERSION = '0.11.0'; // require('moment')().format('YYYYMMDD');
|
||||
|
||||
const path = require('path');
|
||||
const shell = require('shelljs');
|
||||
|
@ -166,9 +166,11 @@ export class ArduinoDaemonImpl implements ArduinoDaemon, BackendApplicationContr
|
||||
if (error) {
|
||||
ready.reject(error);
|
||||
}
|
||||
if (message.includes('Daemon is now listening on 127.0.0.1')) {
|
||||
grpcServerIsReady = true;
|
||||
ready.resolve(daemon);
|
||||
for (const expected of ['Daemon is listening on TCP port', 'Daemon is now listening on 127.0.0.1']) {
|
||||
if (message.includes(expected)) {
|
||||
grpcServerIsReady = true;
|
||||
ready.resolve(daemon);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user