Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title AXOS Client
- :: Define the Pastebin raw URL for the latest version
- set "pastebin_url=https://pastebin.com/raw/Zr3XkHsd"
- :: Define the name of the current batch file
- set "batch_file=%~f0"
- :: Define a temporary file for downloading the update
- set "temp_file=%temp%\AXOS_Client_Update.bat"
- :home
- cls
- echo ----------------------------------------------
- echo AXOS Client
- echo ----------------------------------------------
- echo Description:
- echo Placeholder
- echo ----------------------------------------------
- echo [1] Settings
- echo [2] Tools
- echo [3] Fun
- echo [4] Ideas
- echo [5] Update Script
- echo [6] Exit
- echo ----------------------------------------------
- set /p choice="Enter your choice: "
- if "%choice%"=="1" goto settings
- if "%choice%"=="2" goto tools
- if "%choice%"=="3" goto fun
- if "%choice%"=="4" goto ideas
- if "%choice%"=="5" goto update
- if "%choice%"=="6" exit
- :update
- cls
- echo ----------------------------------------------
- echo Update AXOS Client Script
- echo ----------------------------------------------
- echo Fetching the latest version of AXOS Client...
- powershell -Command "(New-Object System.Net.WebClient).DownloadFile('%pastebin_url%', '%temp_file%')" >nul 2>&1
- :: Verify if the file was downloaded successfully
- if not exist "%temp_file%" (
- echo Failed to fetch the latest version. Please check your internet connection or the Pastebin URL.
- pause
- goto home
- )
- :: Test the downloaded script
- echo Verifying the update...
- findstr /i ":home" "%temp_file%" >nul
- if errorlevel 1 (
- echo Update verification failed. The downloaded file is invalid.
- del "%temp_file%"
- pause
- goto home
- )
- :: Apply the update
- echo Update verified. Applying update...
- move /y "%temp_file%" "%batch_file%" >nul
- if errorlevel 1 (
- echo Failed to apply the update. Ensure this file has write permissions.
- del "%temp_file%"
- pause
- goto home
- )
- :: Restart the updated script
- echo Update applied successfully. Restarting...
- start "" "%batch_file%"
- exit
- :: Settings and Tools go here...
- :settings
- cls
- echo ----------------------------------------------
- echo Settings
- echo ----------------------------------------------
- echo [1] PC Info
- echo [2] Back
- echo ----------------------------------------------
- set /p settings_choice="Enter your choice: "
- if "%settings_choice%"=="1" goto pc_info
- if "%settings_choice%"=="2" goto home
- :pc_info
- cls
- echo ----------------------------------------------
- echo PC Information
- echo ----------------------------------------------
- echo [1] Storage
- echo [2] Back
- echo ----------------------------------------------
- set /p pc_choice="Enter your choice: "
- if "%pc_choice%"=="1" goto storage
- if "%pc_choice%"=="2" goto settings
- :storage
- cls
- echo ----------------------------------------------
- echo Storage Information
- echo ----------------------------------------------
- wmic logicaldisk get caption,size,freespace
- echo ----------------------------------------------
- pause
- goto pc_info
- :tools
- cls
- echo ----------------------------------------------
- echo Tools
- echo ----------------------------------------------
- echo [1] Apps
- echo [2] Roblox
- echo [3] Gorilla Tag
- echo [4] Back
- echo ----------------------------------------------
- set /p tools_choice="Enter your choice: "
- if "%tools_choice%"=="1" goto apps
- if "%tools_choice%"=="2" goto check_roblox
- if "%tools_choice%"=="3" goto check_gorilla_tag
- if "%tools_choice%"=="4" goto home
- :check_roblox
- tasklist /fi "imagename eq RobloxPlayerBeta.exe" | find /i "RobloxPlayerBeta.exe" > nul
- if errorlevel 1 (
- echo Please open Roblox first.
- pause
- goto tools
- ) else (
- goto roblox
- )
- :check_gorilla_tag
- tasklist /fi "imagename eq Gorilla Tag.exe" | find /i "Gorilla Tag.exe" > nul
- if errorlevel 1 (
- echo Please open Gorilla Tag first.
- pause
- goto tools
- ) else (
- goto gorilla
- )
- :: Add any additional sections for Fun, Ideas, Apps, etc.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement