Skip to content

Commit

Permalink
tencent-docs: New version 3.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
plutotree committed Jan 18, 2024
1 parent b65f4ae commit 76471d8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions bucket/tencent-docs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"##": "腾讯文档",
"version": "3.1.13",
"description": "[腾讯文档] 支持多人在线编辑Word、Excel和PPT文档",
"homepage": "https://docs.qq.com",
"license": "Freeware",
"url": "https://desktop.docs.qq.com/Installer/30001/3.1.13/TencentDocs-x86_64.exe#/dl.7z",
"hash": "e0c46a252f4831926c3c399b7551dff59f8cc3d783f1cf7e44df84c26be52e00",
"architecture": {
"64bit": {
"pre_install": "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\""
},
"32bit": {
"pre_install": "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-32.7z\" \"$dir\""
}
},
"post_install": "Remove-Item \"$dir\\`$*\" -Force -Recurse",
"shortcuts": [
[
"TencentDocs.exe",
"Tencent Docs"
],
[
"TencentDocs.exe",
"腾讯文档"
]
],
"checkver": {
"script": [
"$url = 'https://docs.qq.com/rainbow/config.v2.ConfigService/PullConfigReq'",
"$payload='{\"pull_item\":{\"app_id\":\"936c3190-4a5a-4608-ac9e-d37fe33f40be\",\"group\":\"DOWNLOAD.release-note-mac\",\"envName\":\"Default\"}}'",
"$headers = @{'Content-Type' = 'application/json'}",
"$response = Invoke-RestMethod -Uri $url -Method Post -Body $payload -Headers $headers -ContentType 'application/json'",
"(($response.config.items[0].rows|ConvertFrom-Json).config|ConvertFrom-Json).version"
],
"regex": "(\\S+)"
},
"autoupdate": {
"url": "https://desktop.docs.qq.com/Installer/30001/$version/TencentDocs-x86_64.exe#/dl.7z"
}
}

0 comments on commit 76471d8

Please sign in to comment.