From 2cd008168753a73b287038936d6345a897a89d4a Mon Sep 17 00:00:00 2001 From: Flamur Veliqi Date: Thu, 22 Jan 2026 22:05:35 +0100 Subject: [PATCH] CPN commit --- menu-launcher.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/menu-launcher.bat b/menu-launcher.bat index 80a0387..22c0b18 100644 --- a/menu-launcher.bat +++ b/menu-launcher.bat @@ -10,11 +10,16 @@ echo ======================================== echo Batch Scripts Menu - Dynamic Loader echo ======================================== echo. +echo Powered by Weektab - weektab.org +echo Repository: git.weektab.org/companas/batch-scripts +echo. +echo ======================================== +echo. echo Scanning /files directory... echo. REM Use Gitea API to list files in /files directory -powershell -Command "$ProgressPreference = 'SilentlyContinue'; try { $response = Invoke-RestMethod -Uri 'https://git.weektab.org/api/v1/repos/companas/batch-scripts/contents/files'; $batFiles = $response | Where-Object { $_.name -like '*.bat' } | Select-Object -ExpandProperty name; if ($batFiles) { $batFiles | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII -NoNewline:$false } else { 'NONE' | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII } } catch { 'ERROR' | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII }" 2>nul +powershell -Command "$ProgressPreference = 'SilentlyContinue'; try { $response = Invoke-RestMethod -Uri 'https://git.weektab.org/api/v1/repos/companas/batch-scripts/contents/files'; $batFiles = $response | Where-Object { $_.name -like '*.bat' } | Select-Object -ExpandProperty name | Sort-Object; if ($batFiles) { $batFiles | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII -NoNewline:$false } else { 'NONE' | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII } } catch { 'ERROR' | Out-File '%TEMP%\repo_scripts.txt' -Encoding ASCII }" 2>nul if not exist "%TEMP%\repo_scripts.txt" ( echo ERROR: Unable to access repository API