mirror of
https://github.com/tiennm99/BSK-All-in-One-Clinic-Management-System.git
synced 2026-10-11 03:12:53 +00:00
21 lines
525 B
Batchfile
21 lines
525 B
Batchfile
@echo off
|
|
REM BSK Client Update Script Launcher
|
|
REM This batch file runs the PowerShell update script with proper execution policy
|
|
|
|
echo BSK Client Update Launcher
|
|
echo =========================
|
|
echo.
|
|
|
|
REM Change to the script directory
|
|
cd /d "%~dp0"
|
|
|
|
REM Run the PowerShell script with execution policy bypass
|
|
powershell -ExecutionPolicy Bypass -File ".\update_client_script.ps1"
|
|
|
|
REM Keep the window open if there's an error
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo An error occurred. Press any key to exit...
|
|
pause >nul
|
|
)
|