Fix global check text

This commit is contained in:
itdoginfo
2025-05-02 13:55:07 +03:00
parent 17fb11baf0
commit 2b8208186d
2 changed files with 9 additions and 9 deletions

View File

@@ -634,11 +634,9 @@ const showConfigModal = async (command, title) => {
const data = await response.json(); const data = await response.json();
clearTimeout(timeoutId); clearTimeout(timeoutId);
formattedOutput += '\n━━━━━━━━━━━━━━━━━━━━━━━━━━━\n';
formattedOutput += ' ➡️ ' + _('FAKEIP BROWSER TEST') + '\n';
if (data.fakeip === true) { if (data.fakeip === true) {
formattedOutput += '✅ ' + _('FakeIP is working in browser!') + '\n'; formattedOutput += '\n✅ ' + _('FakeIP is working in browser!') + '\n';
} else { } else {
formattedOutput += '❌ ' + _('FakeIP is not working in browser') + '\n'; formattedOutput += '❌ ' + _('FakeIP is not working in browser') + '\n';
formattedOutput += _('Check DNS server on current device (PC, phone)') + '\n'; formattedOutput += _('Check DNS server on current device (PC, phone)') + '\n';

View File

@@ -2158,6 +2158,8 @@ print_global() {
} }
global_check() { global_check() {
print_global "📡 Global check run!"
print_global "━━━━━━━━━━━━━━━━━━━━━━━━━━━"
print_global "🛠️ System info" print_global "🛠️ System info"
print_global "🕳️ Podkop: $(opkg list-installed podkop | awk '{print $3}')" print_global "🕳️ Podkop: $(opkg list-installed podkop | awk '{print $3}')"
print_global "🕳️ LuCI App: $(opkg list-installed luci-app-podkop | awk '{print $3}')" print_global "🕳️ LuCI App: $(opkg list-installed luci-app-podkop | awk '{print $3}')"