Fix launcher paths and remove local hardcoding

This commit is contained in:
Codex committed 2026-05-20 19:18:34 +08:00
1 parent e7a7d3f888
commit 13b1f2150c
15 files changed
+145 -66

No files matched your search

+12 -6
View File
@@ -1,11 +1,17 @@
@echo off
REM Git自动提交和推送批处理脚本
REM 每小时自动保存修改、提交并推送到GitHub
REM Git auto commit and push batch launcher.
REM Runs the PowerShell script from this scripts directory.
cd /d "C:\Users\12742\Desktop\douyin_guaji-main"
cd /d "%~dp0.."
if errorlevel 1 (
echo Failed to switch to project root.
pause
exit /b 1
)
REM 运行PowerShell脚本
powershell.exe -ExecutionPolicy Bypass -File "%~dp0auto_commit_push.ps1"
REM Run the PowerShell script.
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0auto_commit_push.ps1"
set "EXIT_CODE=%ERRORLEVEL%"
pause
exit /b %EXIT_CODE%