Initial commit
This commit is contained in:
commit
56e75d9cde
25 files changed
+8285
No files matched your search
@@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo.
|
||||
echo ==============================================================
|
||||
echo Anker SOLIX to Shelly automation - setup
|
||||
echo ==============================================================
|
||||
echo.
|
||||
|
||||
set PYTHON=
|
||||
|
||||
for %%P in (py python) do (
|
||||
if not defined PYTHON (
|
||||
where %%P >nul 2>&1 && set PYTHON=%%P
|
||||
)
|
||||
)
|
||||
|
||||
if not defined PYTHON (
|
||||
echo No Python found on PATH.
|
||||
echo Install Python 3.12 or newer from https://www.python.org/downloads/
|
||||
echo Tick "Add python.exe to PATH" during installation, then run this again.
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Using: %PYTHON%
|
||||
echo.
|
||||
|
||||
%PYTHON% "%~dp0solixauto.py" setup
|
||||
|
||||
echo.
|
||||
pause
|
||||
Reference in new issue
Block a user