EXXETA / correomqtt

A modern graphical MQTT client using the HiveMQ client library. MQTT is a messaging protocol widely used in the IoT world. CorreoMQTT provides a UI to send and receive messages. It is able to handle multiple connections at the same time.
http://correomqtt.org
GNU General Public License v3.0
53 stars 21 forks source link

Fixing scripting support for js #190

Closed nojomyth-dev closed 4 months ago

nojomyth-dev commented 6 months ago

Description

This PR fixes the existing issue with the scripting feature of correo (namely cannot load engine / cannot find polyglot / etc). (See attached image for "it works on my machine" proof, was tested beforehand with current develop and issue was verified). image

Fixes implementation for #15

How to test

Please describe steps to test your change.

Requirments: This branch, jdk 17, maven

Checklist:

nojomyth-dev commented 6 months ago

It does log a error, regarding a pipe not being connected, however i think this is not related to this fix. Cannot verify / investigate due to lack of knowledge of the project. It does not affect the execution, that still runs fine and prints the result as expected. It does not crash and subsequent attempts also work

image

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.6% Duplication on New Code

See analysis details on SonarCloud

nojomyth-dev commented 4 months ago

Closing as already implemented directly in new release.