Fix escape character in network strength command

This commit is contained in:
Furkan
2026-03-01 11:06:06 +03:00
committed by GitHub
parent 1402a19c98
commit 77dd839320
@@ -233,7 +233,7 @@ Singleton {
Process {
id: updateNetworkStrength
running: true
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\*/{if (NR!=1) {print $2}}'"]
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\\*/{if (NR!=1) {print $2}}'"]
stdout: SplitParser {
onRead: data => {
root.networkStrength = parseInt(data);