diff --git a/README.md b/README.md index dce132a2..7c044788 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,6 @@ scoop install sushi/ **\*** Non portable (store data outside of Scoop directory) -🐟 Depends on `dorado` bucket (`scoop bucket add dorado https://github.com/chawyehsu/dorado`) - ### [V2Ray](https://www.v2fly.org/) Rulesets - [v2ray-domain-list-community](https://github.com/v2ray/domain-list-community) @@ -58,15 +56,15 @@ Fonts do **not** need administrator rights to **install**, but they are **needed ### Miscellaneous +- [dotnet-desktop-runtime](https://dotnet.microsoft.com/) - [fontloadersub](https://github.com/yzwduck/FontLoaderSub) - [listary-beta](https://www.listary.com/beta) # * - [microsoft-edge / microsoft-edge-beta / microsoft-edge-dev / microsoft-edge-canary](https://www.microsoft.com/edge) * - [officetoolplus-beta](https://otp.landian.vip/) - [openhashtab](https://github.com/namazso/OpenHashTab) # -- [scoop-completion](https://github.com/Moeologist/scoop-completion) - [tencent-meeting](https://meeting.tencent.com/) * - [trojan-qt5](https://github.com/Trojan-Qt5/Trojan-Qt5) - [~~naiveproxy~~](https://github.com/klzgrad/naiveproxy) ([Moved to `main`](https://github.com/ScoopInstaller/Main/pull/1172)) - [varpanel](http://implbits.com/products/varpanel/) - [wechat](https://pc.weixin.qq.com/) * -- [youtube-dl-wpf](https://github.com/database64128/youtube-dl-wpf) 🐟 +- [youtube-dl-wpf](https://github.com/database64128/youtube-dl-wpf) diff --git a/bucket/android-clt.json b/bucket/android-clt.json index b49e36e5..fac37594 100644 --- a/bucket/android-clt.json +++ b/bucket/android-clt.json @@ -6,6 +6,7 @@ "identifier": "Freeware", "url": "https://developer.android.com/studio/terms.html" }, + "notes": "You need to launch sdkmanager with --sdk_root=$env:ANDROID_SDK_ROOT.", "url": "https://dl.google.com/android/repository/commandlinetools-win-6609375_latest.zip", "hash": "40bba20275180194bebf89bb58c74d712bb93cc401f36bd2f8f32383acf9826c", "post_install": [ @@ -36,6 +37,5 @@ "url": "https://developer.android.com/studio", "find": "commandlinetools-win(?:.*\\n){3}.*($sha256)" } - }, - "notes": "You need to launch sdkmanager with --sdk_root=$env:ANDROID_SDK_ROOT." + } } diff --git a/bucket/dotnet-desktop-runtime.json b/bucket/dotnet-desktop-runtime.json new file mode 100644 index 00000000..9e2faff9 --- /dev/null +++ b/bucket/dotnet-desktop-runtime.json @@ -0,0 +1,48 @@ +{ + "version": "3.1.5", + "description": "The dotnet desktop runtime enables you to run dotnet desktop applications. This release includes the .NET Core Runtime, you do not need to install it separately.", + "homepage": "https://dotnet.microsoft.com/", + "license": "MIT", + "notes": "This package only contains the .NET Core runtime, install 'dotnet-sdk' instead if you need .NET Core SDK", + "depends": "dark", + "architecture": { + "64bit": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/3.1.5/windowsdesktop-runtime-3.1.5-win-x64.exe", + "hash": "sha512:5df17bd9fed94727ec5b151e1684bf9cdc6bfd3075f615ab546759ffca0679d23a35fcf7a8961ac014dd5a4ff0d22ef5f7434a072e23122d5c0415fcd4198831" + }, + "32bit": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/3.1.5/windowsdesktop-runtime-3.1.5-win-x86.exe", + "hash": "sha512:b5e7e49d5b6f4f83a665d1f4c7d83700540f9c888c3c36ccd44f5395138dc1e258a4fcb260845d8ac7e3e5a1513be1666521edeaf6dfd67669a04a1290cda7e1" + } + }, + "installer": { + "script": [ + "Expand-DarkArchive \"$dir\\$fname\" \"$dir\\extracted\" -Removal", + "Get-ChildItem \"$dir\\extracted\\AttachedContainer\\*.msi\" | ForEach-Object { Expand-MsiArchive $_ \"$dir\" }", + "Move-Item \"$dir\\dotnet\\*\" \"$dir\" -Force", + "@('dotnet', 'extracted') | ForEach-Object { Remove-Item \"$dir\\$_\" -Recurse }" + ] + }, + "bin": "dotnet.exe", + "env_set": { + "DOTNET_ROOT": "$dir" + }, + "checkver": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json", + "regex": "(?s)(?[\\d.]+)[^\\d]*?(?[\\d.]+)[^\\d]*?(?:current|lts)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$version/windowsdesktop-runtime-$version-win-x64.exe" + }, + "32bit": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$version/windowsdesktop-runtime-$version-win-x86.exe" + } + }, + "hash": { + "url": "https://dotnetcli.blob.core.windows.net/dotnet/checksums/$version-sha.txt", + "mode": "extract" + } + } +} diff --git a/bucket/fontloadersub.json b/bucket/fontloadersub.json index 0dc9d1dc..6f8d27f1 100644 --- a/bucket/fontloadersub.json +++ b/bucket/fontloadersub.json @@ -3,16 +3,16 @@ "description": "OpenType font loader for subtitles (ASS/SSA)", "homepage": "https://github.com/yzwduck/FontLoaderSub", "license": "GPL-2.0-only", + "notes": "Place your fonts under \"$dir\\fonts\" to persist them.", "url": "https://github.com/yzwduck/FontLoaderSub/releases/download/r6/FontLoaderSub-r6.7z", "hash": "095c4ad9472ae4a354d2c9438086248ff7097176bae029d38bd87037eed0de8d", - "shortcuts": [["FontLoaderSub.exe", "FontLoaderSub"]], "pre_install": [ "if (!(Test-Path \"$persist_dir\\fc-subs.db\")) {", " New-Item -Path \"$dir\\fc-subs.db\" -ItemType file | Out-Null", "}" ], + "shortcuts": [["FontLoaderSub.exe", "FontLoaderSub"]], "persist": ["fonts", "fc-subs.db"], - "notes": "Place your fonts under \"$dir\\fonts\" to persist them.", "checkver": { "url": "https://github.com/yzwduck/FontLoaderSub/releases/latest", "regex": "/releases/tag/(r\\d+)" diff --git a/bucket/jetbrains-mono.json b/bucket/jetbrains-mono.json index 34db4c79..edb7b1c6 100644 --- a/bucket/jetbrains-mono.json +++ b/bucket/jetbrains-mono.json @@ -3,10 +3,11 @@ "description": "A typeface made for developers by JetBrains", "homepage": "https://github.com/JetBrains/JetBrainsMono", "license": "Apache-2.0", + "notes": "You may need to restart the system to use recently installed fonts.", + "depends": "sudo", "url": "https://github.com/JetBrains/JetBrainsMono/releases/download/v2.001/JetBrains.Mono.2.001.zip", "hash": "d9176856e982ca16f4ee24a1021a62b51cea43575f3c6aa1910d4cdf6b695ade", "extract_dir": "JetBrains Mono 2.001/ttf/Variable", - "depends": "sudo", "installer": { "script": [ "$path = \"$env:localappdata\\Microsoft\\Windows\\Fonts\"", @@ -38,6 +39,5 @@ "autoupdate": { "url": "https://github.com/JetBrains/JetBrainsMono/releases/download/v$version/JetBrains.Mono.$version.zip", "extract_dir": "JetBrains Mono $version/ttf/Variable" - }, - "notes": "You may need to restart the system to use recently installed fonts." + } } diff --git a/bucket/listary-beta.json b/bucket/listary-beta.json index 35d5f6bb..fba24378 100644 --- a/bucket/listary-beta.json +++ b/bucket/listary-beta.json @@ -3,10 +3,10 @@ "description": "A revolutionary search utility (beta)", "homepage": "https://www.listary.com/beta", "license": "Freeware", + "notes": "Your data is stored in $env:appdata\\Listary.", "url": "https://www.listary.com/download/beta/listary6/ListaryInstaller.exe", "hash": "5baf39cd63e1d07784f8614fe0ec79fbc1f5ba2f4f8a91d0f2b55b24d493a250", "innosetup": true, - "shortcuts": [["Listary.exe", "Listary"]], "installer": { "script": [ "if (!(is_admin)) {", @@ -33,5 +33,5 @@ "Remove-Item \"$env:appdata\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\Listary.lnk\"" ] }, - "notes": "Your data is stored in $env:appdata\\Listary." + "shortcuts": [["Listary.exe", "Listary"]] } diff --git a/bucket/microsoft-edge-beta.json b/bucket/microsoft-edge-beta.json index 5a2efe29..e90a239c 100644 --- a/bucket/microsoft-edge-beta.json +++ b/bucket/microsoft-edge-beta.json @@ -3,6 +3,7 @@ "description": "The new Microsoft Edge browser (Beta Channel)", "homepage": "https://www.microsoftedgeinsider.com/", "license": "Freeware", + "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge.", "architecture": { "64bit": { "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/beta/x64#/dl.7z", @@ -22,7 +23,7 @@ "shortcuts": [["msedge.exe", "Microsoft Edge Beta"]], "checkver": { "url": "https://scoop-services.azurewebsites.net/checkver?app=microsoftedge", - "jp": "$.beta.x64.version" + "jsonpath": "$.beta.x64.version" }, "autoupdate": { "architecture": { @@ -33,6 +34,5 @@ "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/beta/x86#/dl.7z" } } - }, - "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge." + } } diff --git a/bucket/microsoft-edge-canary.json b/bucket/microsoft-edge-canary.json index bcfa7f91..677aca62 100644 --- a/bucket/microsoft-edge-canary.json +++ b/bucket/microsoft-edge-canary.json @@ -3,6 +3,7 @@ "description": "The new Microsoft Edge browser (Canary Channel)", "homepage": "https://www.microsoftedgeinsider.com/", "license": "Freeware", + "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge.", "architecture": { "64bit": { "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/canary/x64#/dl.7z", @@ -22,7 +23,7 @@ "shortcuts": [["msedge.exe", "Microsoft Edge Canary"]], "checkver": { "url": "https://scoop-services.azurewebsites.net/checkver?app=microsoftedge", - "jp": "$.canary.x64.version" + "jsonpath": "$.canary.x64.version" }, "autoupdate": { "architecture": { @@ -33,6 +34,5 @@ "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/canary/x86#/dl.7z" } } - }, - "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge." + } } diff --git a/bucket/microsoft-edge-dev.json b/bucket/microsoft-edge-dev.json index 069e4eff..d6547196 100644 --- a/bucket/microsoft-edge-dev.json +++ b/bucket/microsoft-edge-dev.json @@ -3,6 +3,7 @@ "description": "The new Microsoft Edge browser (Dev Channel)", "homepage": "https://www.microsoftedgeinsider.com/", "license": "Freeware", + "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge.", "architecture": { "64bit": { "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/dev/x64#/dl.7z", @@ -22,7 +23,7 @@ "shortcuts": [["msedge.exe", "Microsoft Edge Dev"]], "checkver": { "url": "https://scoop-services.azurewebsites.net/checkver?app=microsoftedge", - "jp": "$.dev.x64.version" + "jsonpath": "$.dev.x64.version" }, "autoupdate": { "architecture": { @@ -33,6 +34,5 @@ "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/dev/x86#/dl.7z" } } - }, - "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge." + } } diff --git a/bucket/microsoft-edge.json b/bucket/microsoft-edge.json index d38bfed5..20956582 100644 --- a/bucket/microsoft-edge.json +++ b/bucket/microsoft-edge.json @@ -3,6 +3,7 @@ "description": "The new Microsoft Edge browser", "homepage": "https://www.microsoft.com/edge", "license": "Freeware", + "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge.", "architecture": { "64bit": { "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/stable/x64#/dl.7z", @@ -22,7 +23,7 @@ "shortcuts": [["msedge.exe", "Microsoft Edge"]], "checkver": { "url": "https://scoop-services.azurewebsites.net/checkver?app=microsoftedge", - "jp": "$.stable.x64.version" + "jsonpath": "$.stable.x64.version" }, "autoupdate": { "architecture": { @@ -33,6 +34,5 @@ "url": "https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/stable/x86#/dl.7z" } } - }, - "notes": "Your data is stored $env:localappdata\\Microsoft\\Edge." + } } diff --git a/bucket/officetoolplus-beta.json b/bucket/officetoolplus-beta.json index e4baa686..960986c1 100644 --- a/bucket/officetoolplus-beta.json +++ b/bucket/officetoolplus-beta.json @@ -3,9 +3,9 @@ "description": "A tool for managing, downloading and installing Office.", "homepage": "https://otp.landian.vip/", "license": "Freeware", + "notes": "Please install .NET Core Desktop Runtime 3.1 (x86): https://dotnet.microsoft.com/download/dotnet-core/3.1", "url": "https://download.coolhub.top/Office-Tool-v8.0.zip", "extract_dir": "Office Tool", "shortcuts": [["Office Tool Plus.exe", "Office Tool Plus"]], - "persist": "Office", - "notes": "Please install .NET Core Desktop Runtime 3.1 (x86): https://dotnet.microsoft.com/download/dotnet-core/3.1" + "persist": "Office" } diff --git a/bucket/openhashtab.json b/bucket/openhashtab.json index 1ac6995e..1ce2e716 100644 --- a/bucket/openhashtab.json +++ b/bucket/openhashtab.json @@ -3,6 +3,7 @@ "description": "A shell extension for conveniently calculating and checking file hashes from file properties", "homepage": "https://github.com/namazso/OpenHashTab", "license": "GPL-3.0-or-later", + "notes": "Due to Scoop's limitations, innounp is listed as a dependency though it is only required for installation.", "depends": "innounp", "url": "https://github.com/namazso/OpenHashTab/releases/download/v2.2.0/OpenHashTab_setup.exe", "hash": "ab2a232a3b2833ef92cae9053d39af90ced0ea19f653a9e09fe1389457adedee", @@ -37,6 +38,5 @@ "checkver": "github", "autoupdate": { "url": "https://github.com/namazso/OpenHashTab/releases/download/v$version/OpenHashTab_setup.exe" - }, - "notes": "Due to Scoop's limitations, innounp is listed as a dependency though it is only required for installation." + } } diff --git a/bucket/qv2ray-beta.json b/bucket/qv2ray-beta.json index e900b14e..65a608ae 100644 --- a/bucket/qv2ray-beta.json +++ b/bucket/qv2ray-beta.json @@ -36,7 +36,7 @@ "persist": "config", "checkver": { "url": "https://github.com/Qv2ray/Qv2ray/releases", - "re": "/tree/v([\\w.-]+)" + "regex": "/tree/v([\\w.-]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/qv2ray-plugin-command-beta.json b/bucket/qv2ray-plugin-command-beta.json index 8da01b5d..6e58b562 100644 --- a/bucket/qv2ray-plugin-command-beta.json +++ b/bucket/qv2ray-plugin-command-beta.json @@ -3,6 +3,7 @@ "description": "Command plugin for Qv2ray (beta)", "homepage": "https://github.com/Qv2ray/QvPlugin-Command", "license": "GPL-3.0-or-later", + "depends": "sushi/qv2ray-beta", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-Command/releases/download/v2.0.0/QvCommandPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "43d6c1ff77afc86e9919fe0d8bdc48f43e28b45a37e12b2fa541bac80f1ff9d0" } }, - "depends": "sushi/qv2ray-beta", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", @@ -28,7 +28,7 @@ }, "checkver": { "url": "https://github.com/Qv2ray/QvPlugin-Command/releases", - "re": "/tree/v([\\w.-]+)" + "regex": "/tree/v([\\w.-]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/qv2ray-plugin-command.json b/bucket/qv2ray-plugin-command.json index 56ce6456..c0c94242 100644 --- a/bucket/qv2ray-plugin-command.json +++ b/bucket/qv2ray-plugin-command.json @@ -3,6 +3,7 @@ "description": "Command plugin for Qv2ray", "homepage": "https://github.com/Qv2ray/QvPlugin-Command", "license": "GPL-3.0-or-later", + "depends": "extras/qv2ray", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-Command/releases/download/v2.0.0/QvCommandPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "43d6c1ff77afc86e9919fe0d8bdc48f43e28b45a37e12b2fa541bac80f1ff9d0" } }, - "depends": "extras/qv2ray", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", diff --git a/bucket/qv2ray-plugin-naiveproxy.json b/bucket/qv2ray-plugin-naiveproxy.json index ce8f6d16..91d47a71 100644 --- a/bucket/qv2ray-plugin-naiveproxy.json +++ b/bucket/qv2ray-plugin-naiveproxy.json @@ -3,6 +3,7 @@ "description": "NaiveProxy plugin for Qv2ray", "homepage": "https://github.com/Qv2ray/QvPlugin-NaiveProxy", "license": "GPL-3.0-or-later", + "depends": ["extras/qv2ray", "naiveproxy"], "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-NaiveProxy/releases/download/v0.1.0-rc3/QvPlugin-NaiveProxy.v0.1.0-rc3.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "ecbc17f404f33963966d1bfde445d177e0426d887eb9512c05a8d91d90b4e2dc" } }, - "depends": ["extras/qv2ray", "naiveproxy"], "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", @@ -34,7 +34,7 @@ }, "checkver": { "url": "https://github.com/Qv2ray/QvPlugin-NaiveProxy/releases", - "re": "/tree/v([\\w.-]+)" + "regex": "/tree/v([\\w.-]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/qv2ray-plugin-ssr-beta.json b/bucket/qv2ray-plugin-ssr-beta.json index 79429d9c..53d5c8e8 100644 --- a/bucket/qv2ray-plugin-ssr-beta.json +++ b/bucket/qv2ray-plugin-ssr-beta.json @@ -3,6 +3,7 @@ "description": "ShadowSocksR plugin for Qv2ray (beta)", "homepage": "https://github.com/Qv2ray/QvPlugin-SSR", "license": "GPL-3.0-or-later", + "depends": "sushi/qv2ray-beta", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-SSR/releases/download/v2.0.0/QvSSRPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "63fd019c9eadbfe171d96b46922bc5b04d689e6a971574155435efea5a2ba452" } }, - "depends": "sushi/qv2ray-beta", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", @@ -28,7 +28,7 @@ }, "checkver": { "url": "https://github.com/Qv2ray/QvPlugin-SSR/releases", - "re": "/tree/v([\\w.-]+)" + "regex": "/tree/v([\\w.-]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/qv2ray-plugin-ssr.json b/bucket/qv2ray-plugin-ssr.json index d4b41255..3d0b17c2 100644 --- a/bucket/qv2ray-plugin-ssr.json +++ b/bucket/qv2ray-plugin-ssr.json @@ -3,6 +3,7 @@ "description": "ShadowSocksR plugin for Qv2ray", "homepage": "https://github.com/Qv2ray/QvPlugin-SSR", "license": "GPL-3.0-or-later", + "depends": "extras/qv2ray", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-SSR/releases/download/v2.0.0/QvSSRPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "63fd019c9eadbfe171d96b46922bc5b04d689e6a971574155435efea5a2ba452" } }, - "depends": "extras/qv2ray", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", diff --git a/bucket/qv2ray-plugin-trojan-beta.json b/bucket/qv2ray-plugin-trojan-beta.json index 896c68ab..68949cf4 100644 --- a/bucket/qv2ray-plugin-trojan-beta.json +++ b/bucket/qv2ray-plugin-trojan-beta.json @@ -3,6 +3,7 @@ "description": "Trojan plugin for Qv2ray (beta)", "homepage": "https://github.com/Qv2ray/QvPlugin-Trojan", "license": "GPL-3.0-or-later", + "depends": "sushi/qv2ray-beta", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-Trojan/releases/download/v2.0.0/QvTrojanPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "de22e182050359a27eeee5edf47a32fe61681e32c4fdf77478252ed6add43798" } }, - "depends": "sushi/qv2ray-beta", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", @@ -28,7 +28,7 @@ }, "checkver": { "url": "https://github.com/Qv2ray/QvPlugin-Trojan/releases", - "re": "/tree/v([\\w.-]+)" + "regex": "/tree/v([\\w.-]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/qv2ray-plugin-trojan.json b/bucket/qv2ray-plugin-trojan.json index 39fb5f36..cdfcf07f 100644 --- a/bucket/qv2ray-plugin-trojan.json +++ b/bucket/qv2ray-plugin-trojan.json @@ -3,6 +3,7 @@ "description": "Trojan plugin for Qv2ray", "homepage": "https://github.com/Qv2ray/QvPlugin-Trojan", "license": "GPL-3.0-or-later", + "depends": "extras/qv2ray", "architecture": { "64bit": { "url": "https://github.com/Qv2ray/QvPlugin-Trojan/releases/download/v2.0.0/QvTrojanPlugin.v2.0.0.Windows-x64.dll", @@ -13,7 +14,6 @@ "hash": "de22e182050359a27eeee5edf47a32fe61681e32c4fdf77478252ed6add43798" } }, - "depends": "extras/qv2ray", "installer": { "script": [ "function LinkFile([String] $file, [String] $source = $file) {", diff --git a/bucket/scoop-completion.json b/bucket/scoop-completion.json deleted file mode 100644 index ad82c555..00000000 --- a/bucket/scoop-completion.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "0.2.3", - "description": "PowerShell completion for Scoop", - "homepage": "https://github.com/Moeologist/scoop-completion", - "license": "MIT", - "url": "https://github.com/Moeologist/scoop-completion/archive/v0.2.3.zip", - "hash": "59fcda6e723b2c0bf7430668ccfb57086d82e9472733a01f9f7f9315768b5e5f", - "extract_dir": "scoop-completion-0.2.3/src", - "psmodule": { - "name": "scoop-completion" - }, - "post_install": "Import-Module $env:USERPROFILE\\scoop\\modules\\scoop-completion", - "checkver": { - "url": "https://github.com/moeologist/scoop-completion/releases", - "re": "tag/v([\\w.-]+)" - }, - "autoupdate": { - "url": "https://github.com/Moeologist/scoop-completion/archive/v$version.zip", - "extract_dir": "scoop-completion-$version/src" - }, - "notes": [ - "To enable completion autoload, you need to add scoop-completion module to PowerShell $PROFILE by running:", - "Add-Content -Path $Profile -Value \"`nImport-Module $env:USERPROFILE\\scoop\\modules\\scoop-completion\"" - ] -} diff --git a/bucket/source-han-sans-truetype.json b/bucket/source-han-sans-truetype.json index 892f7751..2750959b 100644 --- a/bucket/source-han-sans-truetype.json +++ b/bucket/source-han-sans-truetype.json @@ -3,9 +3,10 @@ "description": "Source Han Sans font by Adobe (TrueType)", "homepage": "https://github.com/be5invis/source-han-sans-ttf", "license": "OFL-1.1", + "notes": "You may need to restart the system to use recently installed fonts.", + "depends": "sudo", "url": "https://github.com/be5invis/source-han-sans-ttf/releases/download/v2.001.1/source-han-sans-ttc-2.001.1.7z", "hash": "49aaff3732c6b76132e703488b29c190575599273607a276ceb4ba6c52321b0f", - "depends": "sudo", "installer": { "script": [ "$path = \"$env:localappdata\\Microsoft\\Windows\\Fonts\"", @@ -32,6 +33,5 @@ " sudo Remove-Item \"$path\\$($_.Name)\"", "}" ] - }, - "notes": "You may need to restart the system to use recently installed fonts." + } } diff --git a/bucket/source-han-serif-truetype.json b/bucket/source-han-serif-truetype.json index 9526855e..47367b62 100644 --- a/bucket/source-han-serif-truetype.json +++ b/bucket/source-han-serif-truetype.json @@ -3,9 +3,10 @@ "description": "Source Han Serif font by Adobe (TrueType)", "homepage": "https://github.com/Pal3love/Source-Han-TrueType", "license": "OFL-1.1", + "notes": "You may need to restart the system to use recently installed fonts.", + "depends": "sudo", "url": "https://github.com/Pal3love/Source-Han-TrueType/raw/2.000-1.001-2.011-R/SourceHanSerif.rar", "hash": "83627d36e2dead714be097773a4aff53bbb11d627ef131334cbc35d8874ec510", - "depends": "sudo", "installer": { "script": [ "$path = \"$env:localappdata\\Microsoft\\Windows\\Fonts\"", @@ -32,6 +33,5 @@ " sudo Remove-Item \"$path\\$($_.Name)\"", "}" ] - }, - "notes": "You may need to restart the system to use recently installed fonts." + } } diff --git a/bucket/tencent-meeting.json b/bucket/tencent-meeting.json index dfbfefb4..7991bb2e 100644 --- a/bucket/tencent-meeting.json +++ b/bucket/tencent-meeting.json @@ -6,9 +6,9 @@ "identifier": "EULA", "url": "https://meeting.tencent.com/declare.html" }, + "notes": "Your data is stored in $env:appdata\\Tencent\\WeMeet.", "url": "https://down.qq.com/download/TencentMeeting_0300000000_1.6.7.453.publish.exe#/dl.7z", "hash": "md5:3fadbe01c943d12571cdf5175aacc9e4", - "shortcuts": [["wemeetapp.exe", "腾讯会议"]], "extract_dir": "$_4_", "installer": { "script": [ @@ -16,15 +16,15 @@ "Remove-Item \"$dir\\WeMeetUninstall.exe\" -Force -Recurse" ] }, + "shortcuts": [["wemeetapp.exe", "腾讯会议"]], "checkver": { "url": "https://scoop-sushi.vercel.app/api/tencent-meeting.ts", - "re": "(?[\\d.]+) (?.+)" + "regex": "(?[\\d.]+) (?.+)" }, "autoupdate": { "url": "$matchUrl", "hash": { "url": "https://scoop-sushi.vercel.app/api/tencent-meeting.ts?hash=1" } - }, - "notes": "Your data is stored in $env:appdata\\Tencent\\WeMeet." + } } diff --git a/bucket/trojan-qt5.json b/bucket/trojan-qt5.json index eb7c2e59..68e14231 100644 --- a/bucket/trojan-qt5.json +++ b/bucket/trojan-qt5.json @@ -5,7 +5,6 @@ "license": "GPL-3.0-or-later", "url": "https://github.com/Trojan-Qt5/Trojan-Qt5/releases/download/v1.4.0/Trojan-Qt5-Windows.7z", "hash": "307e478e70c4d3e668473bfd7ba095ea08712d7d21821f8004af86b9d065c4d5", - "shortcuts": [["trojan-qt5.exe", "Trojan-Qt5"]], "installer": { "script": [ "function CreateFile([String] $file, [String] $content = $null) {", @@ -29,6 +28,7 @@ "BackupFile 'config.json'" ] }, + "shortcuts": [["trojan-qt5.exe", "Trojan-Qt5"]], "persist": ["pac", "config.ini", "config.json"], "checkver": "github", "autoupdate": { diff --git a/bucket/v2ray-domain-list-community.json b/bucket/v2ray-domain-list-community.json index 27e3e8bb..3547f4a4 100644 --- a/bucket/v2ray-domain-list-community.json +++ b/bucket/v2ray-domain-list-community.json @@ -3,9 +3,9 @@ "description": "Geosite and domain data for V2Ray (official)", "homepage": "https://github.com/v2ray/domain-list-community", "license": "MIT", + "depends": "v2ray", "url": "https://github.com/v2ray/domain-list-community/releases/download/20200714111014/dlc.dat", "hash": "9ba6943851a4505a230ff6149f02bbe43e49a73d7566e381bb91cf1bae856bd1", - "depends": "v2ray", "installer": { "script": [ "if (-not (Test-Path \"$persist_dir\\v2ray-domain-list-community\")) {", @@ -29,4 +29,4 @@ "url": "$url.sha256sum" } } -} +} diff --git a/bucket/v2ray-geoip.json b/bucket/v2ray-geoip.json index bf09056a..45128620 100644 --- a/bucket/v2ray-geoip.json +++ b/bucket/v2ray-geoip.json @@ -3,9 +3,9 @@ "description": "GeoIP data for V2Ray (official)", "homepage": "https://github.com/v2ray/geoip", "license": "MIT", + "depends": "v2ray", "url": "https://github.com/v2ray/geoip/releases/download/202007080004/geoip.dat", "hash": "fe84a87816b6cda5d5a72dfef8f41f996f968c62c4f697d7f1adc316067a98c8", - "depends": "v2ray", "installer": { "script": [ "if (-not (Test-Path \"$persist_dir\\v2ray-geoip\")) {", diff --git a/bucket/v2ray-rules-dat.json b/bucket/v2ray-rules-dat.json index 934afef3..c6643e01 100644 --- a/bucket/v2ray-rules-dat.json +++ b/bucket/v2ray-rules-dat.json @@ -3,9 +3,9 @@ "description": "Enhanced ruleset for V2Ray (unofficial)", "homepage": "https://github.com/Loyalsoldier/v2ray-rules-dat", "license": "GPL-3.0-or-later", + "depends": "v2ray", "url": "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202007132202/rules.zip", "hash": "d4fc23f5d92fbb8a150d4ef3e8b1ada2ef6f4e7274b3d4c3e27b33a149f9bc96", - "depends": "v2ray", "installer": { "script": [ "if (-not (Test-Path \"$persist_dir\\v2ray-rules-dat\")) {", @@ -26,10 +26,7 @@ "Copy-Item \"$dir\\geosite.dat.bak\" -Destination \"$(appdir v2ray $global)\\current\\geosite.dat\" -Force" ] }, - "persist": [ - "geoip.dat.bak", - "geosite.dat.bak" - ], + "persist": ["geoip.dat.bak", "geosite.dat.bak"], "checkver": "github", "autoupdate": { "url": "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/$version/rules.zip", @@ -37,4 +34,4 @@ "url": "$url.sha256sum" } } -} +} diff --git a/bucket/varpanel.json b/bucket/varpanel.json index 8079b136..e0b8554d 100644 --- a/bucket/varpanel.json +++ b/bucket/varpanel.json @@ -5,11 +5,11 @@ "license": "Freeware", "url": "http://downloads.implbits.com/v1/content/Vpm5LVEGhjDZR1XmNXeKym/varpanel-1.1.msi#/dl.7z", "hash": "md5:d52af41f6acdc1e7d913fd6a646d92f1", - "shortcuts": [["varpanel.exe", "Varpanel"]], "installer": { "script": [ "Remove-Item \"$dir\\FileVariablesJson\"", "Remove-Item \"$dir\\FileVphelperExe\"" ] - } + }, + "shortcuts": [["varpanel.exe", "Varpanel"]] } diff --git a/bucket/vscode-insiders-portable.json b/bucket/vscode-insiders-portable.json index d766f263..f4c1cb54 100644 --- a/bucket/vscode-insiders-portable.json +++ b/bucket/vscode-insiders-portable.json @@ -6,6 +6,11 @@ "identifier": "Freeware", "url": "https://code.visualstudio.com/License/" }, + "notes": [ + "Visual Studio Code now supports Portable Mode! Please move the following directories:", + "From \"$env:USERPROFILE\\.vscode-insiders\\extensions\" to \"$env:SCOOP\\persist\\vscode-insiders-portable\\data\\extensions\"", + "From \"$env:APPDATA\\Code - Insiders\" to \"$env:SCOOP\\persist\\vscode-insiders-portable\\data\\user-data\"" + ], "architecture": { "64bit": { "url": "https://vscode.cdn.azure.cn/insider/c828a5339bca7222fd8f56ab98361a98f736d185/VSCode-win32-x64-1.48.0-insider.zip", @@ -16,27 +21,12 @@ "hash": "8f67b2994173cfd56c2fed601b5fb1644acbba632b5859111ef6dc84f397e572" } }, - "bin": [ - [ - "bin\\code-insiders.cmd", - "code-insiders" - ] - ], - "shortcuts": [ - [ - "Code - Insiders.exe", - "Visual Studio Code - Insiders" - ] - ], + "bin": [["bin\\code-insiders.cmd", "code-insiders"]], + "shortcuts": [["Code - Insiders.exe", "Visual Studio Code - Insiders"]], "persist": "data", - "notes": [ - "Visual Studio Code now supports Portable Mode! Please move the following directories:", - "From \"$env:USERPROFILE\\.vscode-insiders\\extensions\" to \"$env:SCOOP\\persist\\vscode-insiders-portable\\data\\extensions\"", - "From \"$env:APPDATA\\Code - Insiders\" to \"$env:SCOOP\\persist\\vscode-insiders-portable\\data\\user-data\"" - ], "checkver": { "url": "https://scoop-sushi.vercel.app/api/vscode-insiders.ts", - "re": "(?[\\d.]+) (?(?.{7}).+)", + "regex": "(?[\\d.]+) (?(?.{7}).+)", "replace": "${version}-${shortCommit}" }, "autoupdate": { @@ -45,14 +35,14 @@ "url": "https://vscode.cdn.azure.cn/insider/$matchCommit/VSCode-win32-x64-$matchHead-insider.zip", "hash": { "url": "https://code.visualstudio.com/sha?build=insider", - "jp": "$.products[5].sha256hash" + "jsonpath": "$.products[5].sha256hash" } }, "32bit": { "url": "https://vscode.cdn.azure.cn/insider/$matchCommit/VSCode-win32-ia32-$matchHead-insider.zip", "hash": { "url": "https://code.visualstudio.com/sha?build=insider", - "jp": "$.products[2].sha256hash" + "jsonpath": "$.products[2].sha256hash" } } } diff --git a/bucket/vscode-insiders.json b/bucket/vscode-insiders.json index 2650ba6d..90a1f780 100644 --- a/bucket/vscode-insiders.json +++ b/bucket/vscode-insiders.json @@ -16,21 +16,11 @@ "hash": "8f67b2994173cfd56c2fed601b5fb1644acbba632b5859111ef6dc84f397e572" } }, - "bin": [ - [ - "bin\\code-insiders.cmd", - "code-insiders" - ] - ], - "shortcuts": [ - [ - "Code - Insiders.exe", - "Visual Studio Code - Insiders" - ] - ], + "bin": [["bin\\code-insiders.cmd", "code-insiders"]], + "shortcuts": [["Code - Insiders.exe", "Visual Studio Code - Insiders"]], "checkver": { "url": "https://scoop-sushi.vercel.app/api/vscode-insiders.ts", - "re": "(?[\\d.]+) (?(?.{7}).+)", + "regex": "(?[\\d.]+) (?(?.{7}).+)", "replace": "${version}-${shortCommit}" }, "autoupdate": { @@ -39,14 +29,14 @@ "url": "https://vscode.cdn.azure.cn/insider/$matchCommit/VSCode-win32-x64-$matchHead-insider.zip", "hash": { "url": "https://code.visualstudio.com/sha?build=insider", - "jp": "$.products[5].sha256hash" + "jsonpath": "$.products[5].sha256hash" } }, "32bit": { "url": "https://vscode.cdn.azure.cn/insider/$matchCommit/VSCode-win32-ia32-$matchHead-insider.zip", "hash": { "url": "https://code.visualstudio.com/sha?build=insider", - "jp": "$.products[2].sha256hash" + "jsonpath": "$.products[2].sha256hash" } } } diff --git a/bucket/wechat.json b/bucket/wechat.json index 730d56b6..dcd416a5 100644 --- a/bucket/wechat.json +++ b/bucket/wechat.json @@ -6,9 +6,9 @@ "identifier": "EULA", "url": "https://weixin.qq.com/cgi-bin/readtemplate?lang=zh_CN&t=weixin_agreement&s=default" }, + "notes": "We don't persist your WeChat data, they are still storaged in '%APPDATA%\\Tencent\\WeChat'.", "url": "https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe#/dl.7z", "hash": "df512197a1d0e471a1d64d692ec0c0d101a84f02d1c6382d70677653a135a77b", - "shortcuts": [["wechat.exe", "微信"]], "installer": { "script": [ "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse", @@ -16,12 +16,12 @@ "Remove-Item \"$dir\\`$R5\" -Force -Recurse" ] }, + "shortcuts": [["wechat.exe", "微信"]], "checkver": { "url": "https://pc.weixin.qq.com/", - "re": "微信 PC 版 ([\\d.]+)" + "regex": "微信 PC 版 ([\\d.]+)" }, "autoupdate": { "url": "https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe#/dl.7z" - }, - "notes": "We don't persist your WeChat data, they are still storaged in '%APPDATA%\\Tencent\\WeChat'." + } } diff --git a/bucket/youtube-dl-wpf.json b/bucket/youtube-dl-wpf.json index 5188e23f..4fdf0ffc 100644 --- a/bucket/youtube-dl-wpf.json +++ b/bucket/youtube-dl-wpf.json @@ -3,7 +3,7 @@ "description": "A simple GUI wrapper for youtube-dl", "homepage": "https://github.com/database64128/youtube-dl-wpf", "license": "GPL-3.0-or-later", - "depends": ["youtube-dl", "dorado/dotnet-desktop-runtime"], + "depends": ["youtube-dl", "sushi/dotnet-desktop-runtime"], "suggest": { "FFmpeg": ["ffmpeg", "ffmpeg-nightly"] }, @@ -28,7 +28,7 @@ "persist": "Settings.json", "checkver": { "url": "https://github.com/database64128/youtube-dl-wpf/releases", - "re": "youtube-dl-wpf-v(?[\\d.]+)-(?\\d{8})" + "regex": "youtube-dl-wpf-v(?[\\d.]+)-(?\\d{8})" }, "autoupdate": { "url": "https://github.com/database64128/youtube-dl-wpf/releases/download/v$version/youtube-dl-wpf-v$version-$matchDate.7z"