We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent40c5901 commitfa893d0Copy full SHA for fa893d0
.github/workflows/release.yml
@@ -39,12 +39,18 @@ jobs:
39
# 在根目录创建 tmp
40
New-Item -ItemType Directory -Force -Path tmp
41
42
- # 压缩根目录下 Out 中的产物
+ # Release 版的 spy.dll 和 sdk.dll
43
+ $rel = "WeChatFerry/WeChatFerry/x64/Release"
44
+ # Debug 版的 spy_debug.dll
45
+ $dbg = "WeChatFerry/WeChatFerry/x64/Debug"
46
+ # 项目根的 DISCLAIMER.md
47
+ $md = "WeChatFerry/WeChatFerry/DISCLAIMER.md"
48
+
49
Compress-Archive `
- -Path "WeChatFerry/Out/sdk.dll","WeChatFerry/Out/spy.dll","WeChatFerry/Out/spy_debug.dll","WeChatFerry/Out/DISCLAIMER.md" `
50
+ -Path "$rel/spy.dll","$rel/sdk.dll","$dbg/spy_debug.dll",$md `
51
-DestinationPath "tmp/v${{ env.version }}.zip"
52
- #下载对应 WeChat 安装包
53
+ #下载对应版本微信安装包
54
Invoke-WebRequest `
55
-Uri "https://github.com/tom-snow/wechat-windows-versions/releases/download/v${{ env.wechat_version }}/WeChatSetup-${{ env.wechat_version }}.exe" `
56
-OutFile "tmp/WeChatSetup-${{ env.wechat_version }}.exe"