We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6459a commit ce22068Copy full SHA for ce22068
src/socket-daemon.js
@@ -132,6 +132,11 @@ export default class SocketDaemon extends Daemon {
132
const found = responses.some(r => {
133
if (r && r.response && r.response.status === 200) {
134
this.agentInfo = r.data;
135
+
136
+ if (this.agentInfo.update_url.indexOf('downloads.arduino.cc') === -1) {
137
+ this.error.next('unofficial plugin');
138
+ }
139
140
if (r.response.url.indexOf(PROTOCOL.HTTPS) === 0) {
141
this.selectedProtocol = PROTOCOL.HTTPS;
142
}
0 commit comments