Update package-osx.sh

This commit is contained in:
zjt003 2025-01-19 17:44:45 +08:00 committed by GitHub
parent 26abe7e7d7
commit 9663c82e1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,4 +55,8 @@ create-dmg \
--hide-extension "v2rayN.app" \
--app-drop-link 500 185 \
"v2rayN-${Arch}.dmg" \
"$PackagePath/v2rayN.app"
"$PackagePath/v2rayN.app"
# 为生成的 DMG 文件创建 SHA256 校验值文件
SHA256File="v2rayN-${Arch}.dmg.sha256"
shasum -a 256 "v2rayN-${Arch}.dmg" > "$SHA256File"