snag/windows/snag.bat

21 lines
487 B
Batchfile

@echo off
chcp 65001 > nul
set "SCRIPT_DIR=%~dp0"
set "SNAG_PATH=%SCRIPT_DIR%"
set "PATH=%PATH%;%SNAG_PATH%"
echo -----------------------------------------------
echo Snag Application Launcher
echo -----------------------------------------------
echo.
echo NOTE: Ensure the config file exists at:
echo "%USERPROFILE%\snag\snag.json"
echo.
echo To get started, type: snag --help
echo -----------------------------------------------
echo.
cd /d "%USERPROFILE%"
cmd /k