From 33899b990432b266c500a35a7f0837d1357f8f3f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Jul 2020 07:43:49 +0200 Subject: check-routeros-update: use $SymbolByUnicodeName --- check-routeros-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check-routeros-update b/check-routeros-update index 62ad64a..8b1b54f 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -15,6 +15,7 @@ :global LogPrintExit; :global ScriptFromTerminal; :global SendNotification; +:global SymbolByUnicodeName; :global VersionToNum; :local DoUpdate do={ @@ -88,7 +89,7 @@ $Update->"latest-version" . ".") true; } - $SendNotification ("\E2\9C\A8 RouterOS update") \ + $SendNotification ([ $SymbolByUnicodeName "sparkles" ] . " RouterOS update") \ ("A new RouterOS version " . ($Update->"latest-version") . \ " is available for " . $Identity . ".\n\n" . \ [ $DeviceInfo ] . "\n\n" . \ -- cgit v1.2.3-54-g00ecf