upload-backup: add symbol in notification

This commit is contained in:
Christian Hesse 2020-07-17 11:23:17 +02:00
parent e0fe98a274
commit d1cba3fc05

View file

@ -19,6 +19,7 @@
:global DeviceInfo; :global DeviceInfo;
:global LogPrintExit; :global LogPrintExit;
:global SendNotification; :global SendNotification;
:global SymbolForNotification;
:if ($BackupSendBinary != true && \ :if ($BackupSendBinary != true && \
$BackupSendExport != true) do={ $BackupSendExport != true) do={
@ -58,7 +59,7 @@
} }
} }
$SendNotification "Backup & Config Upload" \ $SendNotification ([ $SymbolForNotification "floppy-disk" ] . "Backup & Config Upload") \
("Backup and config export upload for " . $Identity . ".\n\n" . \ ("Backup and config export upload for " . $Identity . ".\n\n" . \
[ $DeviceInfo ] . "\n\n" . \ [ $DeviceInfo ] . "\n\n" . \
"Backup file: " . $BackupFile . "\n" . \ "Backup file: " . $BackupFile . "\n" . \