convert domainCheck to regular directory
This commit is contained in:
10
domainCheck/start_worker.ps1
Normal file
10
domainCheck/start_worker.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$env:PYTHONUTF8 = '1'
|
||||
|
||||
$python = Join-Path $PSScriptRoot '.venv\Scripts\python.exe'
|
||||
if (-not (Test-Path $python)) {
|
||||
throw "未找到虚拟环境解释器: $python"
|
||||
}
|
||||
|
||||
Set-Location $PSScriptRoot
|
||||
& $python 'detect_worker.py'
|
||||
Reference in New Issue
Block a user