diff --git a/README-CN.md b/README-CN.md index f6aaafe84..c31cb1431 100644 --- a/README-CN.md +++ b/README-CN.md @@ -136,12 +136,13 @@ scoop config aria2-min-split-size 4M ### 日常工作 | App | 自动更新 | 原创 | -| :--------------------: | :------: | :-----------------------------------------------------: | +| :--------------------: | :------: | :-----------------------------------------------------: | ----------------------------------------------------------- | | AutoDarkMode | √ | √ | | Clash-for-Windows | √ | 复制于 [dorado](https://github.com/chawyehsu/dorado) | | FileCentipede | √ | √ (by @CronusLM) | | N-m3u8DL-RE | √ | √ | | RectangleWin | √ | √ | +| Viber | √ | | 复制于 [ScoopMaster](https://github.com/okibcn/ScoopMaster) | | WinRAR | √ | √ | | WiseCare365 | √ | √ | | VMware-Workstation-Pro | √ | 修改自 [Ash258](https://github.com/Ash258/Scoop-Ash258) | diff --git a/README.md b/README.md index 66fe08ac4..a4d78b47f 100644 --- a/README.md +++ b/README.md @@ -133,16 +133,17 @@ scoop config aria2-min-split-size 4M ### Development Auxiliary -| App | Auto-Update ? | Original ? | -| :--------------------: | :-----------: | :-------------------------------------------------------: | -| AutoDarkMode | √ | √ | -| Clash-for-Windows | √ | copied from [dorado](https://github.com/chawyehsu/dorado) | -| FileCentipede | √ | √ (by @CronusLM) | -| N-m3u8DL-RE | √ | √ | -| RectangleWin | √ | √ | -| WinRAR | √ | √ | -| WiseCare365 | √ | √ | -| VMware-Workstation-Pro | √ | modified [Ash258](https://github.com/Ash258/Scoop-Ash258) | +| App | Auto-Update ? | Original ? | +| :--------------------: | :-----------: | :--------------------------------------------------------------: | +| AutoDarkMode | √ | √ | +| Clash-for-Windows | √ | copied from [dorado](https://github.com/chawyehsu/dorado) | +| FileCentipede | √ | √ (by @CronusLM) | +| N-m3u8DL-RE | √ | √ | +| RectangleWin | √ | √ | +| Viber | √ | copied from [ScoopMaster](https://github.com/okibcn/ScoopMaster) | +| WinRAR | √ | √ | +| WiseCare365 | √ | √ | +| VMware-Workstation-Pro | √ | modified [Ash258](https://github.com/Ash258/Scoop-Ash258) | ### Opensource Mirrors diff --git a/bucket/viber.json b/bucket/viber.json new file mode 100644 index 000000000..404def84c --- /dev/null +++ b/bucket/viber.json @@ -0,0 +1,38 @@ +{ + "version": "21.2.0.3", + "homepage": "https://www.viber.com/", + "description": "A freenium service that allows for secure calls and messages to anyone, anywhere.", + "license": { + "identifier": "Freeware", + "url": "https://www.viber.com/en/terms/viber-terms-use/" + }, + "architecture": { + "64bit": { + "url": "https://download.cdn.viber.com/desktop/windows/ViberSetup.exe", + "hash": "46333678f1d7179b66dc7d0689c5a9920ced3f11e68b8fffcef43352b07acc70" + } + }, + "pre_install": [ + "Expand-DarkArchive \"$dir\\ViberSetup.exe\" \"$dir\\extract_folder\" -Removal", + "Expand-MsiArchive \"$dir\\extract_folder\\AttachedContainer\\ViberSetup.msi\" \"$dir\\extract_folder\\AttachedContainer\" -Removal", + "Move-Item \"$dir\\extract_folder\\AttachedContainer\\Viber\\*\" \"$dir\"; Remove-Item \"$dir\\extract_folder\" -Recurse | Out-Null" + ], + "bin": "Viber.exe", + "shortcuts": [ + [ + "Viber.exe", + "Viber" + ] + ], + "checkver": { + "url": "https://www.filehorse.com/download-viber-for-windows/", + "regex": "