thank you! LA is so powerful!
Using the code below, I was able to solve most of my needs, and the value of the variable `s` is updated in real time.
However, how can I implement the functionality for Todo2?
I asked ChatGPT, but didn't get the correct answer, possibly because I don't understand the implementation principles.
Using the code below, I was able to solve most of my needs, and the value of the variable `s` is updated in real time.
However, how can I implement the functionality for Todo2?
I asked ChatGPT, but didn't get the correct answer, possibly because I don't understand the implementation principles.
run.thread(() => run.console(s => print.it(s), frpc, cl, encoding: Encoding.UTF8));
//Todo2:
//Continuously monitor the text in the hidden frpc command-line window.
//When the specified text (e.g., "start proxy success") appears, a dialog box should pop up displaying the message: "Connection successful!"
//When the specified text (e.g., "unreachable network") appears, a dialog box should pop up displaying the message: "unreachable"
// HTTP server Code