release: v1.0.3 统一个人 DWS 通知与简化初始化配置

This commit is contained in:
chenmingxuan committed 2026-09-10 17:14:23 +08:00
1 parent a08cfd6a3b
commit 20c0de9b38
17 files changed
+670 -693

No files matched your search

+2 -10
View File
@@ -1,11 +1,3 @@
# Requires PowerShell 7.3+ for native argument passing (quotes and Markdown).
$ErrorActionPreference = 'Stop'
if ($PSVersionTable.PSVersion -lt [version]'7.3') { throw 'Please use PowerShell 7.3+ or the Python entry.' }
$PSNativeCommandArgumentPassing = 'Standard'
$env:PYTHONIOENCODING = 'utf-8'
if (Get-Command python -CommandType Application -ErrorAction SilentlyContinue) {
& python "$PSScriptRoot/dingtalk_notify.py" progress @args
} elseif (Get-Command py -CommandType Application -ErrorAction SilentlyContinue) {
& py -3 "$PSScriptRoot/dingtalk_notify.py" progress @args
} else { throw 'Python 3.9+ is required.' }
# PowerShell 7.3+; shared launcher preserves Chinese, Markdown and exit status.
& "$PSScriptRoot/dingtalk-python.ps1" progress @args
exit $LASTEXITCODE