From a37943edc4b2e3b2257c658e2d76472cd45e3ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=83=D1=80=D0=BD=D0=B0=D1=82=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Sat, 14 Feb 2026 17:52:27 +0300 Subject: [PATCH] edit --- BookReader/Resources/Raw/AboutAssets.txt | 15 -------------- BookReader/Resources/Raw/wwwroot/index.html | 22 ++++++++++----------- 2 files changed, 11 insertions(+), 26 deletions(-) delete mode 100644 BookReader/Resources/Raw/AboutAssets.txt diff --git a/BookReader/Resources/Raw/AboutAssets.txt b/BookReader/Resources/Raw/AboutAssets.txt deleted file mode 100644 index 89dc758..0000000 --- a/BookReader/Resources/Raw/AboutAssets.txt +++ /dev/null @@ -1,15 +0,0 @@ -Any raw assets you want to be deployed with your application can be placed in -this directory (and child directories). Deployment of the asset to your application -is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. - - - -These files will be deployed with your package and will be accessible using Essentials: - - async Task LoadMauiAsset() - { - using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); - using var reader = new StreamReader(stream); - - var contents = reader.ReadToEnd(); - } diff --git a/BookReader/Resources/Raw/wwwroot/index.html b/BookReader/Resources/Raw/wwwroot/index.html index a2ea4b6..48c57af 100644 --- a/BookReader/Resources/Raw/wwwroot/index.html +++ b/BookReader/Resources/Raw/wwwroot/index.html @@ -100,7 +100,7 @@ font-family: monospace; padding: 5px; z-index: 9999; - display: block; + display: none; } @@ -123,16 +123,16 @@ // ========== DEBUG LOGGING ========== function debugLog(msg) { console.log('[Reader] ' + msg); - var logDiv = document.getElementById('debug-log'); - if (logDiv) { - var line = document.createElement('div'); - line.textContent = new Date().toLocaleTimeString() + ': ' + msg; - logDiv.appendChild(line); - logDiv.scrollTop = logDiv.scrollHeight; - while (logDiv.children.length > 50) { - logDiv.removeChild(logDiv.firstChild); - } - } + //var logDiv = document.getElementById('debug-log'); + //if (logDiv) { + // var line = document.createElement('div'); + // line.textContent = new Date().toLocaleTimeString() + ': ' + msg; + // logDiv.appendChild(line); + // logDiv.scrollTop = logDiv.scrollHeight; + // while (logDiv.children.length > 50) { + // logDiv.removeChild(logDiv.firstChild); + // } + //} } function showError(msg) {