From c83695747083f3cafb9564effb2adc234bcdb104 Mon Sep 17 00:00:00 2001 From: Flamur Veliqi Date: Fri, 23 Jan 2026 12:38:36 +0100 Subject: [PATCH] Menu Launcher --- batchr.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/batchr.bat b/batchr.bat index 95096ae..3912fe1 100644 --- a/batchr.bat +++ b/batchr.bat @@ -1,6 +1,6 @@ @echo off -REM === Dynamic WBS Menu Launcher === -REM Repository: https://git.weektab.org/companas/batch-scripts +REM === Batchr Menu Launcher === +REM Repository: https://git.weektab.org/companas/batchr REM Powered by Weektab REM Author: Flamur Veliqi (Netbie) @@ -8,13 +8,13 @@ setlocal enabledelayedexpansion :MENU cls -echo WBS Menu - Dynamic Loader +echo Batchr Menu Launcher echo. echo Powered by Weektab echo Web: www.weektab.org echo E-Mail: support@weektab.org echo Project: Companas -echo Repository: git.weektab.org/companas/batch-scripts +echo Repository: git.weektab.org/companas/batchr echo. echo ////////////////////////////////////////////////// echo. @@ -22,7 +22,7 @@ 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 | 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 +powershell -Command "$ProgressPreference = 'SilentlyContinue'; try { $response = Invoke-RestMethod -Uri 'https://git.weektab.org/api/v1/repos/companas/batchr/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 @@ -103,7 +103,7 @@ cls echo /// Executing: !SCRIPT_NAME[%CHOICE%]! echo. -set "SCRIPT_URL=https://git.weektab.org/companas/batch-scripts/raw/branch/main/files/!SCRIPT_NAME[%CHOICE%]!" +set "SCRIPT_URL=https://git.weektab.org/companas/batchr/raw/branch/main/files/!SCRIPT_NAME[%CHOICE%]!" set "TEMP_SCRIPT=%TEMP%\batch_script_%RANDOM%.bat" echo Downloading script...