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

+2 -3
View File
@@ -14,8 +14,8 @@ if (-not $isAdmin) {
}
$taskName = "Git自动提交推送"
$scriptPath = "C:\Users\12742\Desktop\douyin_guaji-main\auto_commit_push.ps1"
$workingDir = "C:\Users\12742\Desktop\douyin_guaji-main"
$scriptPath = Join-Path $PSScriptRoot "auto_commit_push.ps1"
$workingDir = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path
Write-Host "========================================" -ForegroundColor Cyan
Write-Host "Setting up Git Auto Commit Task" -ForegroundColor Cyan
@@ -100,4 +100,3 @@ try {
}
pause