diff --git a/app/bot.php b/app/bot.php index 3569e4b..dfe956b 100644 --- a/app/bot.php +++ b/app/bot.php @@ -4871,8 +4871,7 @@ DNS-over-HTTPS with IP: exit; case 'w': $link = htmlspecialchars($si, ENT_XML1, 'UTF-8'); - file_put_contents('/singbox/winsw3.xml', preg_replace('#~url~#', $link, file_get_contents('/singbox/winsw3.xml'))); - $n = "singbox_$uid.zip"; + $n = "singbox_$uid.zip"; copy('/singbox/singbox.zip', $n); $zip = new ZipArchive(); $zip->open($n, ZipArchive::CREATE); diff --git a/version b/version index 5458339..8bbac17 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +10.10.2024 v1.65.1 +- фикс создания архива windows service singbox 2 09.10.2024 v1.65 - фикс создания архива windows service singbox 06.10.2024 v1.64.1