初始化

This commit is contained in:
chenyc
2025-12-13 18:52:08 +08:00
commit 9041a4298f
553 changed files with 59783 additions and 0 deletions

26
transfer.bat Normal file
View File

@@ -0,0 +1,26 @@
@echo off
rmdir /s /q .\dist
call npm install
call npm run build
"C:\syncthing\data1\common-tools\WinSCP-5.11.2-Portable\WinSCP.com" ^
/log="WinSCP.log" /ini=nul ^
/command ^
"open sftp://root:songjun1@101.132.161.78/ -hostkey=""ssh-ed25519 256 34:00:7d:e0:4b:ef:fe:4d:f8:59:84:8e:58:6a:46:aa""" ^
"lpwd" ^
"lcd dist" ^
"put * /root/hemodialysis/pc/" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%