Fix launcher paths and remove local hardcoding
This commit is contained in:
1 parent
e7a7d3f888
commit
13b1f2150c
15 files changed
+145
-66
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user