diff --git a/bucket/tim.json b/bucket/tim.json new file mode 100644 index 00000000000000..4e238be177fcab --- /dev/null +++ b/bucket/tim.json @@ -0,0 +1,42 @@ +{ + "version": "3.4.5.22071", + "description": "An lightweight instant messaging software service developed by Tencent", + "homepage": "https://tim.qq.com/", + "license": { + "identifier": "Proprietary", + "url": "https://ti.qq.com/tim/serverinfo.html" + }, + "notes": [ + "Scoop doesn't persist your TIM data, by default they are stored in: ", + "'%UserProfile%\\Documents\\Tencent Files'.", + "Files produced at runtime leaves in '%AppData%\\Tencent'." + ], + "url": "https://webcdn.m.qq.com/spcmgr/download/TIM3.4.5.22071.exe#/dl.exe", + "hash": "e92a4705964f2f572e376aa6634e6d487fba2dd3060f0f1c1991ab86350934e6", + "shortcuts": [ + [ + "Bin\\QQScLauncher.exe", + "TIM" + ] + ], + "installer": { + "script": [ + "Expand-7zipArchive \"$dir\\$fname\" -Switches '-t*' -Removal", + "Get-Item \"$dir\\*\" -Exclude .rsrc | Remove-Item", + "Expand-7zipArchive \"$dir\\.rsrc\\2052\\MSI\\101\" \"$dir\" -ExtractDir 'Files'", + "Expand-7zipArchive \"$dir\\.rsrc\\2052\\MSI\\102\" \"$dir\\temp\"", + "'vcruntime140.dll', 'msvcp140.dll', 'msvcr100.dll', 'vcomp140.dll', 'msvcp100.dll' | ForEach-Object {", + " Move-Item \"$dir\\temp\\$_\" \"$dir\\Bin\\\"", + "}", + "Expand-7zipArchive \"$dir\\temp\\TXSSO\\TXSSOSetup.exe\" \"$dir\\Bin\\TXSSO\" -ExtractDir 'TXSSO'", + "Remove-Item \"$dir\\.rsrc\", \"$dir\\temp\" -Recurse" + ] + }, + "checkver": { + "url": "https://pc.qq.com/detail/18/detail_23258.html", + "regex": "TIM([\\d.]+).exe" + }, + "autoupdate": { + "url": "https://webcdn.m.qq.com/spcmgr/download/TIM$version.exe#/dl.exe" + } +}